Indicator Constraint with Multiple Conditions

Comments

1 comment

  • Silke Horn

    I assume by "multiple binary variable conditions" you mean something like this:

    $$ x_1 == 1\mathrm{\ \ AND\ \ } x_2 == 1 \implies \text{<some constraint>} $$

    You can only have one indicator variable in each indicator constraint, but you can, of course, model something like the above using auxiliary variables. E.g.

    $$ x_3 == \mathrm{AND}(x_1, x_2)$$

    and then use this new variable in the indicator constraint.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk