Skip to main content

Questions tagged [modeling]

For questions related to the process of converting a real-world problem into a mathematical model. Can include questions related to linearization, logical constraints, tightness of formulations, and so on.

Filter by
Sorted by
Tagged with
5 votes
1 answer
206 views

On a square grid, a loop passes through each cell exactly once. For certain rows and columns, the maximum number of consecutive cells traversed by the path in that row or column is bounded by the tag ...
NormalFit's user avatar
  • 486
0 votes
1 answer
168 views

A workforce scheduling problem MIP formulation Decision variable $x_{ij} = 1$ if shift $i$ is assigned to worker $j$, $0$ otherwise. Objective is a sum of multiple objectives Maximize demand coverage ...
ORProfessional's user avatar
0 votes
1 answer
57 views

In the online course "Effortless Modeling in Python with GAMSPy" by Bluebird Optimization, Lesson 17 introduces the anatomy of conditional statements, including the point that the operator <...
Tim Varelmann's user avatar
0 votes
2 answers
133 views

Assuming I have 100 variables $r_1 \dots r_{100}$ which can be positive or negative and I try to find the minimum of all of them in a MILP problem and bind that to a variable $y$. $$y = \min_{i \in \{...
worldsmithhelper's user avatar
0 votes
2 answers
155 views

In a worker shift assignment problem, let's suppose there are some unassigned shifts for a day (e.g., morning 8 to 11 is an unassigned shift that any qualified worker can take) and some additional ...
ORProfessional's user avatar
2 votes
1 answer
83 views

We have a medical residency program and residents are assigned to a different "main" hospital to work in every year. Each resident is assigned to one hospital and each hospital is assigned N ...
hashemi's user avatar
  • 121
1 vote
1 answer
131 views

Assuming $x_1, x_2, x_3$ are binaries, what implementation is preferable? $x_1 + x_2 + x_3 \le 1$ or as indicator constraint $IF \quad x_1=1 \quad THEN \quad x_2 + x_3 = 0, $ $IF \quad x_2=1 \quad ...
Clement's user avatar
  • 2,320
1 vote
1 answer
164 views

I have the following question or problem. I have a patient-to-therapist scheduling problem in which patients $p$ are assigned to different therapists $t$ for treatment. Each therapist has a certain ...
Iris Der's user avatar
5 votes
1 answer
271 views

In this post, Erwin Kalvelagen explores how the minimum spanning tree problem can me modeled with different MIPs. The models are based on Optimal Trees (Magnanti, Wolsey). In the flow formulation II, ...
NormalFit's user avatar
  • 486
2 votes
0 answers
63 views

I would like to formulate the graph crossing minimization problem as a MI(N)LP (it's ok if it is non linear) : given a graph $G(V,E)$, what is the minimum number of edge crossings in any drawing of $G$...
NormalFit's user avatar
  • 486
0 votes
0 answers
43 views

All logical operations acting can be expressed as IP constraints. But it's not obvious that just because one can build everything out of existing logical constraint and other linear constraints that ...
worldsmithhelper's user avatar
6 votes
0 answers
111 views

LP and MILPs can have symmetries which can complicate solving them. Existing file formats such as .MPS, .lp, .nl or serializing the matrices A and the vectors b,c are stadard ways to store and ...
worldsmithhelper's user avatar
5 votes
2 answers
400 views

Recently, I developed a linear MIP model for a problem that was originally proposed about ten years ago using a non-linear formulation (specifically, involving binary variables multiplied by ...
Runfeng Yu's user avatar
0 votes
1 answer
119 views

Problem: Objective 1: maximize resource-shift assignments ($\sum_{ij} x_{ij}$) where $x_{ij}$ is 1 if resource $i$ is assigned to shift $j$. Objective 2: minimize the multiple assignments to the same ...
ORProfessional's user avatar
0 votes
1 answer
106 views

I've been trying to build a model using Pyomo GDP constructs, however for some reason, it seems that logical operators cannot be mixed with relational expressions yet. I am trying to implement these ...
lurscher's user avatar
  • 113

15 30 50 per page
1
2 3 4 5
43