Hi everyone
I have a MIP model with name “MyModel” , after solving it with CPLEX, the status model was 8,(INTEGER SOLUTION : A feasible solution to a problem with discrete variables has been found).
i use the following command too ,( before the solve statement)
file opts cplex option file/ cplex.opt /;
MyModel.Optfile =1;
putclose opts /'epgap=0' /'epagap=0';
How can I get the difference between upper and lower bounds for this feasible solution?
In other words, I want to have the gap.
Thank you