Originally posted by: jawadomari
Hello,
I am solving multiple instances of a scheduling problem. I loop through the instance files, read the data files, and create an instance of IloModel and IloCplex for each instance to model and solve the mathematical program. When a solution is found, I call the .end() method for each of the IloModel and IloCplex instances to clear them from the solved problem instance data and move on to the next one.
The problem is that the .end() method takes a very long time, almost as long as it takes to build the model (about 30 minutes). Is there a reason why termination takes that long? Or, is there another way to clear the both cplex and the model instances after solving a problem instance?
Thanks.
#CPLEXOptimizers#DecisionOptimization