Optimizer Return Codes
The table below shows the possible return codes from the subroutine library functions. See also the **MIP Solution Pool Reference Manual** for MIP Solution Pool Errors.
Return Code | Description |
---|---|
0 | Subroutine completed successfully. |
1a | Bad input encountered. |
2a | Bad or corrupt file - unrecoverable. |
4a | Memory error. |
8a | Corrupt use. |
16a | Program error. |
32 | Subroutine not completed successfully, possibly due to invalid argument. |
128 | Too many users. |
a - Unrecoverable error. |
When the Optimizer terminates after the STOP command, it may set an exit code that can be tested by the operating system or by the calling program. The exit code is set as follows:
Return Code | Description |
---|---|
0 | Program terminated normally (with STOP). |
63 | LP optimization unfinished. |
64 | LP feasible and optimal. |
65 | LP infeasible. |
66 | LP unbounded. |
67 | IP optimal solution found. |
68 | IP search incomplete but an IP solution has been found. |
69 | IP search incomplete, no IP solution found. |
70 | IP infeasible. |
99 | LP optimization not started. |
255 | Xpress Optimizer has not been initialized. |