Originally posted by: ZoharFeldman
Hi,
I have some constraints in my model that I would like to enforce "softly", that is, only if they do not create a conflict.
A possible way that I see to implement this concept is to add indicators (IloIntVar) corresponding to the evaluation of these constraints, and add a minimization objective to the model which expression is (possibly weighted) sum of these indicators.
Does this seem like a plausible way? is there a more efficient way to declare soft constraints in the cp optimizer?
Thanks,
Zohar
#CPOptimizer#DecisionOptimization