2
votes
Accepted
Are there ways to assist Gurobi in finding good solutions?
You can use a callback to get each new Gurobi solution $x$ and tell Gurobi about your improved solution $g(x)$. This article illustrates it in the context of the Python API. (It might be a bit, um, ...
2
votes
Accepted
Casting the truth value of an inequality to a boolean
Equivalently, you want to enforce the contrapositives
\begin{align}
b=0 &\implies d<0 \\
b=1 &\implies d\ge 0
\end{align}
For $d<0$, rewrite as $d\le -\epsilon$ for some positive ...
1
vote
Are there ways to assist Gurobi in finding good solutions?
I would suggest watching Faster MIPs Using Custom Heuristics by Gurobi's Greg Glockner.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
linear-programming × 859mixed-integer-programming × 226
optimization × 210
modeling × 126
integer-programming × 109
linearization × 95
constraint × 73
python × 60
gurobi × 49
binary-variable × 49
simplex × 44
logical-constraints × 40
solver × 39
cplex × 37
scheduling × 37
duality × 37
pulp × 34
convex-optimization × 33
nonlinear-programming × 30
reference-request × 27
network-flow × 27
constraint-programming × 26
pyomo × 21
column-generation × 20
big-m × 19