Originally posted by: emiliomartin
Hi Chris,
Many thanks for your answer. The scenario 4 is just what we're looking for... I put the scenario's description below for other users:
" Scenario 4: Find a minimal conflict partition that is, a set of disjoint minimal conflicts S1,...,Sn such that when all constraints in S1 U S2 U... U Sn are removed from the model, the model becomes feasible.
After having a look on it I have a new question.
There is any way to recover the same information printed by the method cp.writeConflict(cp. out()).?
I mean, we can know if a constraint belongs to the current set of conflicts, using method cp. getConflict(constrain[i]). However, as far as we know there is no way to know which variable/s (IloIntervalVar) is related to which constraint, unless we use an external data structure. This information is critical for us in order to compose human-readable messages for users.
Should we construct a parser to translate information provided by cp.writeConflict(...) into human-readable messages? Or there exist other way to compose these messages?
Kind Regards.
#CPOptimizer#DecisionOptimization