Originally posted by: ouaigooo
No, because I want to get the dual costs at the MILP solution.
Here you calculate dual costs at the LP-relaxed solution.
We need
1) to fix all integer vars to their value in the MILP solution
2) solve the LP-relaxed
As mentionned previously, I seek a generic method to do that (without writing variable names explicitely, since they are unknown beforehand). Like Cplex.solveFixed() ...
regards
#DecisionOptimization#OPLusingCPLEXOptimizer