This list of error codes, sorted numerically, links to fuller documentation of error codes in the reference manual, where the error codes are part of the group optim.cplex.errorcodes and where they are sorted alphabetically by symbolic name.
1001 CPXERR_NO_MEMORY
1003 CPXERR_BAD_ARGUMENT
1004 CPXERR_NULL_POINTER
1006 CPXERR_CALLBACK
1009 CPXERR_NO_PROBLEM
1013 CPXERR_BAD_PARAM_NUM
1015 CPXERR_PARAM_TOO_BIG
1016 CPXERR_RESTRICTED_VERSION
1017 CPXERR_NOT_FOR_MIP
1018 CPXERR_NOT_FOR_QP
1022 CPXERR_BAD_PROB_TYPE
1024 CPXERR_NOT_MILPCLASS
1026 CPXERR_STR_PARAM_TOO_LONG
1027 CPXERR_DECOMPRESSION
1029 CPXERR_NOT_MIQPCLASS
1031 CPXERR_NOT_FOR_QCP
1100 CPXERR_BOUNDS_INFEAS
1106 CPXERR_PRESLV_ABORT
1117 CPXERR_PRESLV_INF
1118 CPXERR_PRESLV_UNBD
1119 CPXERR_PRESLV_DUAL
1120 CPXERR_PRESLV_UNCRUSHFORM
1200 CPXERR_INDEX_RANGE
1209 CPXERR_NAME_CREATION
1211 CPXERR_NO_RHS_IN_OBJ
1215 CPXERR_BAD_SENSE
1216 CPXERR_NO_RNGVAL
1217 CPXERR_NO_SOLN
1219 CPXERR_NO_NAMES
1221 CPXERR_NOT_FIXED
1222 CPXERR_DUP_ENTRY
1224 CPXERR_NULL_NAME
1225 CPXERR_NAN
1226 CPXERR_ARRAY_NOT_ASCENDING
1227 CPXERR_COUNT_RANGE
1228 CPXERR_COUNT_OVERLAP
1229 CPXERR_BAD_LUB
1232 CPXERR_NO_DUAL_SOLN
1233 CPXERR_DBL_MAX
1252 CPXERR_NEED_OPT_SOLN
1253 CPXERR_BAD_STATUS
1254 CPXERR_NOT_UNBOUNDED
1256 CPXERR_SINGULAR
1257 CPXERR_PRIIND
1258 CPXERR_NO_LU_FACTOR
1260 CPXERR_NO_SENSIT
1261 CPXERR_NO_BASIC_SOLN
1262 CPXERR_NO_BASIS
1263 CPXERR_ABORT_STRONGBRANCH
1264 CPXERR_NO_NORMS
1265 CPXERR_NOT_DUAL_UNBOUNDED
1266 CPXERR_TILIM_STRONGBRANCH
1267 CPXERR_BAD_PIVOT
1268 CPXERR_TILIM_CONDITION_NO
1269 CPXERR_ABORT_CONDITION_NO
1292 CPXERR_BAD_METHOD
1421 CPXERR_NO_FILENAME
1424 CPXERR_BAD_FILETYPE
1425 CPXERR_XMLPARSE
1431 CPXERR_TOO_MANY_ROWS
1432 CPXERR_TOO_MANY_COLS
1434 CPXERR_BAD_NUMBER
1436 CPXERR_NO_OBJ_SENSE
1438 CPXERR_BAD_LAZY_UCUT
1439 CPXERR_BAD_INDCONSTR
1442 CPXERR_BAD_SOS_TYPE
1445 CPXERR_ROW_REPEATS
1446 CPXERR_COL_REPEATS
1447 CPXERR_RIM_REPEATS
1448 CPXERR_ROW_UNKNOWN
1449 CPXERR_COL_UNKNOWN
1453 CPXERR_NO_ROW_SENSE
1460 CPXERR_NO_BOUND_TYPE
1461 CPXERR_NO_QMATRIX_SECTION
1462 CPXERR_BAD_SECTION_ENDATA
1464 CPXERR_NAME_TOO_LONG
1465 CPXERR_LINE_TOO_LONG
1472 CPXERR_NO_COLUMNS_SECTION
1473 CPXERR_BAD_SECTION_BOUNDS
1474 CPXERR_RANGE_SECTION_ORDER
1475 CPXERR_BAD_SECTION_QMATRIX
1476 CPXERR_NO_OBJECTIVE
1479 CPXERR_RIMNZ_REPEATS
1480 CPXERR_EXTRA_INTORG
1481 CPXERR_EXTRA_INTEND
1482 CPXERR_EXTRA_SOSORG
1483 CPXERR_EXTRA_SOSEND
1484 CPXERR_TOO_MANY_RIMS
1486 CPXERR_NO_ROW_NAME
1487 CPXERR_BAD_OBJ_SENSE
1551 CPXERR_BAD_INDICATOR
1552 CPXERR_NO_ENDATA
1553 CPXERR_FILE_ENTRIES
1554 CPXERR_SBASE_ILLEGAL
1555 CPXERR_BAS_FILE_SIZE
1560 CPXERR_NOT_SAV_FILE
1561 CPXERR_SAV_FILE_DATA
1563 CPXERR_FILE_FORMAT
1602 CPXERR_ADJ_SIGNS
1603 CPXERR_RHS_IN_OBJ
1605 CPXERR_QUAD_IN_ROW
1606 CPXERR_ADJ_SIGN_QUAD
1607 CPXERR_NO_OPERATOR
1609 CPXERR_NO_ID_FIRST
1610 CPXERR_NO_RHS_COEFF
1612 CPXERR_NO_QUAD_EXP
1615 CPXERR_NO_NUMBER
1616 CPXERR_NO_ID
1617 CPXERR_BAD_ID
1618 CPXERR_BAD_EXPONENT
1619 CPXERR_Q_DIVISOR
1660 CPXERR_PRM_DATA
1661 CPXERR_PRM_HEADER
1719 CPXERR_NO_CONFLICT
32201 CPXERR_ILOG_LICENSE
32023 CPXERR_BADPRODUCT
32024 CPXERR_ALGNOTLICENSED
3003 CPXERR_NOT_MIP
3006 CPXERR_BAD_PRIORITY
3007 CPXERR_ORDER_BAD_DIRECTION
3009 CPXERR_ARRAY_BAD_SOS_TYPE
3011 CPXERR_BOUNDS_INT
3012 CPXERR_BAD_DIRECTION
3015 CPXERR_NO_SOS
3016 CPXERR_NO_ORDER
3018 CPXERR_INT_TOO_BIG
3019 CPXERR_SUBPROB_SOLVE
3020 CPXERR_NO_MIPSTART
3021 CPXERR_BAD_CTYPE
3022 CPXERR_SEMI_BDS
3023 CPXERR_NO_INT_X
3301 CPXERR_MISS_SOS_TYPE
3412 CPXERR_NO_TREE
3504 CPXERR_NODE_ON_DISK
3601 CPXERR_PTHREAD_MUTEX_INIT
5002 CPXERR_Q_NOT_POS_DEF
5004 CPXERR_NOT_QP
5011 CPXERR_Q_DUP_ENTRY
5014 CPXERR_Q_NOT_INDEF
1212 CPXERR_UNSUPPORTED_CONSTRAINT_TYPE
32023: License not valid for this product. For example, this error occurs when anyone tries to run the Interactive Optimizer with a license configured only for the Callable Library. Check the options field of the license key to see the CPLEX features that are enabled.
32024: Optimization algorithm not licensed. For example, this error occurs when anyone tries to invoke the CPLEX Barrier Optimizer with a license key that does not permit this algorithm. Check the options field of the license key to see the CPLEX features that are enabled.
32201: ILOG License Manager error. If you are using the Callable Library,
call the routine CPXgeterrorstring
from C. If you are using
Concert Technology, catch and display the resulting IloException
associated with the IloCplex
constructor to see the error.