3
votes
How to identify constraints that make problem not solvable in polynomial time?
You can also see that the second part, constraints 13 to 16, contains more variables (IxI), more constraints (IxIxMxM) and a big M formulation (which is not good for MIP resolution). The first part (...
3
votes
How to identify constraints that make problem not solvable in polynomial time?
The motivation is the same as in the Jain and Grossmann reference [59]. After assigning jobs to machines, the problem decomposes into a separate feasibility subproblem for each machine. Jain and ...
2
votes
Linearizing if else conditions in ILP
Besides @RobPratt's answer, the first condition would be (for simplicity I omitted indices $i$ and $j$ and continued with only two $y$ variables:
$$ x \implies (y_1 \oplus y_2) $$
$$ \lnot x \lor (y_1 ...
2
votes
Accepted
Linearizing if else conditions in ILP
Your first constraint enforces more than was asked. When $X_{ij}=0$, it forces $\sum_k Y_{jk}=0$, hence $Y_{jk}=0$ for all $k$. To enforce only $$X_{ij}=1 \implies \sum_k Y_{jk}=1,$$ you can instead ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
integer-programming × 335mixed-integer-programming × 116
linear-programming × 99
modeling × 76
optimization × 75
binary-variable × 49
logical-constraints × 35
combinatorial-optimization × 32
constraint × 28
python × 22
linearization × 19
gurobi × 19
constraint-programming × 18
solver × 16
scheduling × 16
graphs × 16
reference-request × 15
cplex × 13
nonlinear-programming × 12
computational-complexity × 12
indicator-constraints × 12
quadratic-programming × 10
big-m × 7
convex-optimization × 6
vehicle-routing × 6