Error Messages

Most CPLEX routines distinguish between 1) a normal termination and 2) an error or other condition that may require special handling in the calling program.

In the Callable Library, a return value of 0 indicates success, and a positive integer for a return value indicates error.

In Concert Technology, if an error occurs, an IloCplex::Exception will be thrown. It contains the integer error code and the error message, which can be queried using methods IloCplex::Exception::getStatus() and IloCplex::Exception::getMessage(), respectively. IloException is documented in the ILOG Concert Technology Reference Manual.

Previous Page: Solution Status Codes Return to Top Next Page: Error Code Table