Originally posted by: Farouk HAMMAMI
Hello,
I am trying to solve a MIP using Java and CPLEX and i need some informations about how to ask CPLEX to add a contraint (cut) each time it finds a feasible solution (i.e. i want CPLEX to verify if this solution respects some specific contraint C1 not included in the MIP)???
My second question is about how to add these constraints (C2, C3, ...), for example: Imagine i am solving a vehicle routing problem and i want CPLEX, each time a solution is finded to verify a constraint (let's call it C1) then to add new constraints (C2, C3,...) if the solution does not respect C1.
Thank you.
#CPLEXOptimizers#DecisionOptimization