Originally posted by: suji248
Hello,
Am trying to run a model with the following logic in C#.
1) Run the original model Min C *X, st. AX<=B . Let Z be the objective value of optimal solution.
2) Now modifying the model and re running .
3) Modified problem is Min D*x, st AX <=B and CX<= Z .
What am trying to look for is can I get the value of the Linear expression CX directly from the first model such that I dont have to write much code in for modeling.
While I modify the problem using cplex.addLe in C# can I store the product C*X and re-use it . I mean is there any direct way to get C*X as linear expression ??
Thanks
#CPLEXOptimizers#DecisionOptimization