Originally posted by: BiaoY
Hi, DanielJunglas 270002S4SX
Thanks for your help. But it still has some problems.
In my programme, the "try-catch" is
try
{
...
}
catch (IloException& e)
{
cerr << "Exception is " << e << endl; //(1)
}
catch (...)
{
cerr << "Unknown ERROR! " << endl; // (2)
}
In version 12.2, the error is thrown by sentence (1), which is "Cplex Error 12: Unknown error code" .
In version 12.5, the error is thrown by sentence (2), which displays "Unknown ERROR!". In the next iteration, the error is: "Cplex error 1001: Out of memory."
Does any error with my codes? How can I deal with this problem?
Thank you very much.
#CPLEXOptimizers#DecisionOptimization