Originally posted by: Zele
I'm actually doing two parallel ways:
-First, using a terminal with interactive optimizer. I do this to test a problem in .mps format quickly.
-Second, I am creating a program with c, making calls to CPLEX, with features like "CPXreadcopyprob (), CPXmipopt()", etc.. I will use this form to let CPLEX solve a battery problem and not have to write by hand one by one in the interactive optimizer.
The fact is that we are seeing in most of the problems that only using heuristics algorithms previous to Branch-and-Bound, according to the log, the solution is good enough, without waiting for all the time it takes for the branching later, which improves until the optimal solution, but in a rather longer time. So, we would like to stop the execution and CPLEX will return the solution at that time.
I hope now it is clearer now.
Thanks.
#CPLEXOptimizers#DecisionOptimization