Originally posted by: Nodame
I am attempting to solve an optimization problem in two stages (for simplicity and visibility).
First I solve a Problem:
Min Objective1
s.t. set of Constraints1
From there, I want to extract part of the solution and use it for my second Problem:
Min Objective2
s.t. set of Constraints2
I thought I could just call cplex.Solve(), then extract the solution by using cplex.GetValue(), then again, set up a second Objective, and a second set of constraints, then call cplex.Solve() a second time... But apparently, it is not possible because I am getting the Error:
"Exception of type 'ILOG.CPLEX.MultipleObjectiveException' was thrown."
How can I handle this problem? Is there a way to make the solver 'forget' the previous Objective and/or the Previous constraints before I call cplex.Solve() for a second time?
Note: I am calling cplex from C#.
#CPLEXOptimizers#DecisionOptimization