Hi
which API do you use ?
in your example, imply is linearized.
You could also in the lp format use indicators.
Let me quote documentation:
MIP indicator constraints
This rule applies to CPLEX MIP optimizer.
To specify an indicator constraint, enter it among any other constraints in the model, like this:
[constraintname:] binaryvariable = value -> linear constraint
The constraint name, followed by a colon, is optional. The hyphen followed by the greater-than symbol (->), separates the indicator variable and its value from the linear constraint that is controlled. The indicator variable must be declared as a binary variable, and the value it is compared to must be either 0 (zero) or 1 (one).
regards
#DecisionOptimization#OPLusingCPLEXOptimizer