# Tag Info

### When to use indicator constraints versus big-M approaches in solving (mixed-)integer programs

Here is the advice in the IBM CPLEX documentation. So this pertains to CPLEX. I don't know to what extent it applies to other solvers. First of all, indicator constraints may not be available in all ...
• 11.1k
Accepted

### When to use indicator constraints versus big-M approaches in solving (mixed-)integer programs

For Gurobi there seems to be a dual advantage of using general constraints (http://www.gurobi.com/documentation/8.1/refman/constraints.html#subsubsection:GeneralConstraints): Benefit number one - ...
• 1,323

### When to use indicator constraints versus big-M approaches in solving (mixed-)integer programs

To the best of my knowledge the indicator constraints are just syntactic sugar for the user. Internally these indicator constraints are reformulated using computed big-M formulations or SOS ...
• 2,677

### When to use indicator constraints versus big-M approaches in solving (mixed-)integer programs

Question by me at the IBM CPLEX Forum: Are indicator constraints immune to trickle flow or other numerics-induced logic "errors"? Are indicator constraints immune to trickle flow or other ...
• 11.1k
Accepted

• 22.7k
Accepted

### If-then condition formulation to avoid variable multiplication

Something like: \begin{align} & c_i \le x_i + M(1-y_i)\\ & c_i \le My_i \end{align} $M$ can be interpreted as an upperbound on $c_i$. If you don't like the big-$M$'s, consider using ...
• 1,804
Accepted

### Formulating the conditional constraint

Let $M_i$ be an upper bound on $Q_i$, and impose linear big-M constraints $0 \le Q_i \le M_i x_i$.
• 22.7k
Accepted

• 22.7k
Accepted

• 22.7k
Accepted

### Logical equivalencies to modeling an indicator decision variable in transportation problem

Consider the following tiny example. You have two factories, one warehouse and two product. Factory 1 can produce both goods in sufficient quantity to meet demand but has a very large cost coefficient....
• 31k
Accepted

• 10.4k