Originally posted by: SystemAdmin
[prubin said:]
Regardless of which MIPEmphasis you use, CPLEX will terminate with an optimal solution provided that (a) the problem is feasible and bounded and (b) CPLEX does not run out of time or memory. If you want to confirm that an optimal solution was found, after cplex.solve() you can check that cplex.getStatus returns IloCplex.Status.Optimal.
Changing MIPEmphasis will change the search strategy CPLEX uses, but will not affect whether it returns an optimal solution (assuming adequate time and memory).
/Paul
#CPLEXOptimizers#DecisionOptimization