Originally posted by: SystemAdmin
Hello,
I'm solving multiple .dat files with flow control at OPL Studio.
When setting a timlimit, cplex always stops the opimization (when there is no optimal solution) instead of going to the next opl.
The error message in the scripting log is: "// Script execution failed with status -1"
main{
for (var p in thisOplModel.numberdat) {
if(p==1) {datname="sth.dat";}
if(p==2) {datname="sthelse.dat";}
data1 = new IloOplDataSource(datname)
opl1.addDataSource(data1);
opl1.generate();
cplex.solve();
}
}
also further calculation is aborted.
Is there a way to tell the solver to go to the next step?
thank you a lot for help
#DecisionOptimization#OPLusingCPLEXOptimizer