AnsweredAssumed Answered

Conditional constraints

Question asked by tony camo on May 30, 2013
Latest reply on Aug 4, 2014 by Livio Bertacco

Hello, could you tell me if xpress supports "conditional constraints", I mean constraints as:

 

if x_i = x_j = 1, then y_i + C <= y_j or y_j + C <= y_i

if x_i = c_i = 1, then z_i <= a

if x_i = d_i = 1, then z_i <= b

 

where c_i and d_i are binary constants, a and b are real constants, y_i and z_i are a real variables, and x_i is a binary variables (0 or 1). 

 

or I need to convert that constraints to linear?

 

 

Thank you in advance.

Outcomes