Error Code Table

The following table lists all error codes and their explanations. For brevity, several format codes are used; their meanings are as follows:

%d = a number
%s = a string of characters
%c = a single character.

Error # 
Symbolic Constant 
Error Message 
Description 
1001 
CPXERR_NO_MEMORY 
Out of memory 
The computer has insufficient memory available to complete the selected operation. Downsize problem or increase the amount of physical memory available. Depending on the command, several memory conserving corrections can be made. 
1002 
CPXERR_NO_ENVIRONMENT 
No environment 
Be sure to pass a valid environment pointer to the routines. 
1003 
CPXERR_BAD_ARGUMENT 
Bad argument to Callable Library function 
An invalid argument was passed. 
1004 
CPXERR_NULL_POINTER 
Null pointer for required data 
A value of NULL passed to a routine where NULL is not allowed. 
1006 
CPXERR_CALLBACK 
Error during callback 
An error condition occurred during the callback, as, for example, when solving a MIP problem, if a callback asks for information that is not available from CPLEX. 
1009 
CPXERR_NO_PROBLEM 
No problem exists 
The requested command cannot be executed because no problem has been loaded. 
1012 
CPXERR_LIMITS_TOO_BIG 
Problem size limits too large 
One of the problem dimensions or read limits requires an array length beyond the architectural maximum of the computer. 
1013 
CPXERR_BAD_PARAM_NUM 
Bad parameter number to CPLEX parameter routine 
The CPLEX parameter number does not exist. 
1014 
CPXERR_PARAM_TOO_SMALL 
Parameter value too small 
CPLEX parameter value outside of range of possible values. 
1015 
CPXERR_PARAM_TOO_BIG 
Parameter value too big 
CPLEX parameter value outside of range of possible values. 
1016 
CPXERR_PROMOTION_VERSION 
Promotional version. Problem size limits exceeded 
The current problem size is too large for your version of CPLEX. Reduce problem size. 
1017 
CPXERR_NOT_FOR_MIP 
Not available for mixed-integer problems 
The requested operation can not be performed for mixed integer programs. Change problem type. 
1018 
CPXERR_NOT_FOR_QP 
Not available for quadratic programs 
The requested operation can not be performed for quadratic programs. Change problem type. 
1019 
CPXERR_CHILD_OF_CHILD 
Cannot clone a cloned environment 
CPXparenv() cannot be called from a child thread. 
1020 
CPXERR_TOO_MANY_THREADS 
Thread limit exceeded 
The maximum number of cloned threads has been exceeded. 
1021 
CPXERR_CANT_CLOSE_CHILD 
Cannot close a child environment 
1022 
CPXERR_BAD_PROB_TYPE 
Unknown problem type. Problem not changed 
CPXchgprobtype() could not change the problem type since an unknown type was specified. 
1023 
CPXERR_NOT_ONE_PROBLEM 
Not a single problem, relaxed or fixed 
No problem available, or problem is relaxed or fixed, and operation is inappropriate for those types of problems. 
1024 
CPXERR_NOT_MIPCLASS.o 
Not a MILP, relaxed MILP, or fixed MILP 
Function requires that problem type be CPXPROB_MILP, CPXPROB_RELAXEDMILP, or CPXPROB_FIXEDMILP. 
1025 
CPXERR_NOT_QPCLASS 
Not a QP or zeroed QP 
Function requires that QP data exist for the problem passed in. 
1026 
CPXERR_STR_PARAM_TOO_LONG 
String parameter is too long 
String length greater than 510 
1027 
CPXERR_DECOMPRESSION 
Decompression of unpresolved model failed 
CPLEX was unable to restore the original model, due for instance to insufficient memory. 
1028 
CPXERR_BAD_PARAM_NAME 
Bad parameter name to CPLEX parameter routine 
The parameter name does not exist. 
1029 
CPXERR_NOT_MIQPCLASS 
Not a MIQP or fixed MIQP 
Function requires that problem type be CPXPROB_MIQP or CPXPROB_FIXEDMIQP. 
1051 
CPXERR_MSG_NO_CHANNEL 
No channel pointer supplied to message routine 
No channel pointer supplied to message routine. 
1052 
CPXERR_MSG_NO_FILEPTR 
No file pointer found for message routine 
No file pointer found for message routine. 
1053 
CPXERR_MSG_NO_FUNCTION 
No function pointer found for message routine 
No function pointer found for message routine. 
1100 
CPXERR_BOUNDS_INFEAS 
Bounds on '%s' contradictory 
Check upper and lower bounds for the specified variable. 
1101 
CPXERR_PRESLV_INForUNBD 
Presolve determines problem is infeasible or unbounded 
The loaded problem contains blatant infeasibilities or unboundedness. 
1103 
CPXERR_PRESLV_NO_PROB 
No presolved problem created 
Most likely insufficient memory exists to complete the loading of the presolved problem. 
1106 
CPXERR_PRESLV_ABORT 
Aborted during presolve 
User halted presolve via callback. 
1107 
CPXERR_PRESLV_BASIS_MEM 
Not enough memory to build basis for original LP 
Insufficient memory exists to complete the uncrushing of the presolved problem. 
1108 
CPXERR_PRESLV_COPYSOS 
Can't copy SOS info from original MIP 
1109 
CPXERR_PRESLV_COPYORDER 
Can't copy priority order info from original MIP 
1110 
CPXERR_PRESLV_SOLN_MIP 
Not enough memory to recover solution for original MIP 
Most likely insufficient memory exists to complete the uncrushing of the presolved problem. 
1111 
CPXERR_PRESLV_SOLN_QP 
Not enough memory to compute solution to original QP 
Most likely insufficient memory exists to complete the uncrushing of the presolved problem. 
1112 
CPXERR_PRESLV_START_LP 
Not enough memory to build start for original LP 
Most likely insufficient memory exists to complete the uncrushing of the presolved problem. 
1114 
CPXERR_PRESLV_FAIL_BASIS 
Could not load unpresolved basis for original LP 
Most likely insufficient memory exists to complete the uncrushing of the presolved problem. 
1115 
CPXERR_PRESLV_NO_BASIS 
Failed to find basis in presolved LP 
A basis could not be recovered during uncrushing most likely due to lack of memory. 
1117 
CPXERR_PRESLV_INF 
Presolve determines problem is infeasible 
The loaded problem contains blatant infeasibilities. 
1118 
CPXERR_PRESLV_UNBD 
Presolve determines problem is unbounded 
The loaded problem contains blatant unboundedness. 
1119 
CPXERR_PRESLV_DUAL 
The feature is not available for solving dual formulation 
Certain presolve features are not compatible with its creating an explicit dual formulation. 
1120 
CPXERR_PRESLV_UNCRUSHFORM 
Can't uncrush solution form 
Presolve could not create full solution 
1121 
CPX_PRESLV_CRUSHFORM 
Can't crush solution form 
Presolve could not reduce the solution 
1122 
CPXERR_PRESLV_BAD_PARAM 
Bad presolve parameter setting 
Dual presolve reductions (CPX_PARAM_REDUCE) were specified in the presence of lazy constraints, or nonlinear reductions (CPX_PARAM_PRELINEAR) were specified in the presence of user cuts. 
1200 
CPXERR_INDEX_RANGE 
Index is outside range of valid values 
Selected index is too large or small. 
1201 
CPXERR_COL_INDEX_RANGE 
Column index %d out of range 
The specified column index is negative or greater than or equal to the number of columns in the currently loaded problem. 
1203 
CPXERR_ROW_INDEX_RANGE 
Row index %d out of range 
The specified row index is negative or greater than or equal to the number of rows in the currently loaded problem. 
1205 
CPXERR_INDEX_RANGE_LOW 
%s: 'begin' value %d is less than %d 
The index in the query routine is too small. 
1206 
CPXERR_INDEX_RANGE_HIGH 
%s: 'end' value %d is greater than %d 
The index in the query routine is too large. 
1207 
CPXERR_NEGATIVE_SURPLUS 
Insufficient array length 
Array is too short to hold requested data. 
1208 
CPXERR_ARRAY_TOO_LONG 
Array length too long 
The number of norm values passed to CPXcopypnorms() or CPXcopydnorms() exceeds the number of columns or rows, respectively. 
1209 
CPXERR_NAME_CREATION 
Unable to create default names 
The current names of rows or columns don't allow the creation of default names. 
1210 
CPXERR_NAME_NOT_FOUND 
Name not found 
1211 
CPXERR_NO_RHS_IN_OBJ 
'rhs' has no coefficient in 'obj' 
You cannot make changes to the right-hand side of an objective row since no coefficients exist. 
1215 
CPXERR_BAD_SENSE 
Illegal sense entry %d 
Legal sense symbols are L, G, E and R. 
1216 
CPXERR_NO_RNGVAL 
No range values 
No ranges exist for this problem. 
1217 
CPXERR_NO_SOLN 
No solution exists 
The requested command cannot be executed because no solution exists for the problem. Optimize the problem first. 
1219 
CPXERR_NO_NAMES 
No names exist 
The requested operation is successful only if names have been assigned. Typically this failure occurs when reading a file, such as an ORD file, when no names were assigned during the prior call to CPXreadcopyprob(). 
1221 
CPXERR_NOT_FIXED 
Only fixed variables are pivoted out 
CPXpivotout() can pivot out only fixed variables. 
1222 
CPXERR_DUP_ENTRY 
Duplicate entry 
In CPXchgcoeflist(), a duplicate (row, column) pair was found. 
1223 
CPXERR_NO_BARRIER_SOLN 
No barrier solution exists 
The requested operation requires the existence of a barrier solution. 
1224 
CPXERR_NULL_NAME 
Null pointer %d in name array 
Null pointers are not allowed in name arrays. 
1225 
CPXERR_NAN  
Numeric entry %d is not a double precision number (NAN) 
The value is not a number. 
1226 
CPXERR_ARRAY_NOT_ASCENDING 
Array entry %d not ascending 
Entries in matbeg or sosbeg arrays must be ascending. 
1227 
CPXERR_COUNT_RANGE 
Count entry %d negative or larger than allowed 
Entries in matcnt arrays must be non-negative or less than the number of items possible, columns or rows for example. 
1228 
CPXERR_COUNT_OVERLAP 
Count entry %d indicates overlapping entries 
Entries in the matcnt array indicate that the specified items overlap. 
1229 
CPXERR_BAD_LUB 
Illegal bound change indicator entry %d 
The bound change indicators must be L, U, or B. 
1230 
CPXERR_NODE_INDEX_RANGE 
Node index %d out of range 
The specified node index is negative or greater than or equal to the number of nodes in the network. 
1231 
CPXERR_ARC_INDEX_RANGE 
Arc index %d out of range 
The specified arc index is negative or greater than or equal to the number of arcs in the network. 
1251 
CPXERR_INDEX_NOT_BASIC 
Index must correspond to a basic variable 
The requested variable is not basic.  
1252 
CPXERR_NEED_OPT_SOLN 
Optimal solution required 
An optimal solution must exist before the requested operation can be performed. 
1253 
CPXERR_BAD_STATUS 
Invalid status entry %d for basis specification 
The basis status values are out of range. 
1254 
CPXERR_NOT_UNBOUNDED 
Unbounded solution required 
The requested operation can only be performed on a problem determined to be unbounded. 
1255 
CPXERR_SBASE_INCOMPAT 
Incompatible with superbasis 
The requested operation is incompatible with an existing superbasis. 
1256 
CPXERR_SINGULAR 
Basis singular 
CPLEX cannot factorize a singular basis. See the discussion of numerical difficulties in the CPLEX User's Manual. 
1257 
CPXERR_PRIIND 
Incorrect usage of pricing indicator 
Pricing indicator value out of range. 
1258 
CPXERR_NO_LU_FACTOR 
No LU factorization exists 
The requested item requires the presence of a factorization. You may need to optimize with a 0 iteration limit to get a factorization. 
1260 
CPXERR_NO_SENSIT 
Sensitivity analysis not available for current status 
Sensitivity information is not available because an optimal basic solution does not exist for the currently loaded problem. Optimize the problem checking to ensure that it is not infeasible or unbounded. 
1261 
CPXERR_NO_BASIC_SOLN 
No basic solution exists 
The requested operation requires the existence of a basic solution. Apply primal or dual simplex or crossover. 
1262 
CPXERR_NOBASIS 
No basis exists 
The requested operation requires the existence of a basis. 
1263 
CPXERR_ABORT_STRONGBRANCH 
Strong branching aborted 
Strong branching, for variable selection, could not proceed because a subproblem optimization was aborted. 
1264 
CPXERR_NO_NORMS 
No norms available 
Norms not present. Change pricing and call the optimization routine. 
1265 
CPXERR_NOT_DUAL_UNBOUNDED 
Dual unbounded solution required 
The called function requires that the LP stored in the problem object has been determined to be primal infeasible by the dual simplex algorithm. 
1266 
CPXERR_TILIM_STRONGBRANCH 
Time limit reached in strong branching 
Strong branching was not completed due to reaching the time limit. 
1267 
CPXERR_BAD_PIVOT 
Illegal pivot 
This occurs if illegal or bad Simplex pivots are attempted. Examples are trying to remove nonbasic variables from the basis or selecting a zero column to enter the basis. Also, this error code may be generated if a pivot would yield a numerically unstable or singular basis. 
1268 
CPXERR_TILIM_CONDITION_NO 
Time limit reached in computing condition number 
Condition number computation was not completed due to reaching the time limit. 
1269 
CPXERR_ABORT_CONDITION_NO 
Condition number computation aborted 
The computation of Kappa was terminated early, due to a user interrupt or other reason.  
1292 
CPXERR_BAD_METHOD 
Invalid choice of optimization method 
Unknown method selected for CPXhybnetopt() or CPXhybbaropt(). Select CPX_ALG_PRIMAL or CPX_ALG_DUAL
1421 
CPXERR_NO_FILENAME 
File name not specified 
A filename must be specified for the requested operation to succeed. 
1422 
CPXERR_FAIL_OPEN_WRITE 
Could not open file '%s' for writing 
CPLEX could not create the specified file. Check the file specification. 
1423 
CPXERR_FAIL_OPEN_READ 
Could not open file '%s' for reading 
CPLEX could not read the specified file. Check the file specification. 
1424 
CPXERR_BAD_FILETYPE 
Invalid filetype 
Invalid file type passed to routine requiring a file type 
1431 
CPXERR_TOO_MANY_ROWS 
Too many rows 
The problem contains more rows than are allowed. 
1432 
CPXERR_TOO_MANY_COLS 
Too many columns 
The problem contains more columns than are allowed. 
1433 
CPXERR_TOO_MANY_COEFFS 
Too many coefficients 
The problem contains more matrix coefficients than are allowed. 
1434 
CPXERR_BAD_NUMBER 
Line %d: Couldn't convert '%s' to a number 
CPLEX was unable to interpret a string entry as a number on the indicated line. 
1435 
CPXERR_BAD_EXPO_RANGE 
Line %d: Exponent '%s' out of range 
An exponent on the indicated line is greater than the largest permitted for your computer system. 
1436 
CPXERR_NO_OBJ_SENSE 
Max or Min missing 
The objective function sense indicator is missing from the LP file. No problem is read.  
1441 
CPXERR_NO_NAME_SECTION 
Line %d: No NAME section 
The required MPS file NAME section is missing. 
1442 
CPXERR_BAD_SOS_TYPE 
Line %d: Unrecognized SOS type: %c%c 
Only SOS Types S1 or S2 can be specified within an SOS or MPS file. 
1443 
CPXERR_COL_ROW_REPEATS 
Column '%s' has repeated row '%s' 
The indicated column appears more than once in a row. Check the MPS file for duplicate entries. 
1444 
CPXERR_RIM_ROW_REPEATS 
%s '%s' has repeated row '%s' 
The MPS file contains duplicate row names. 
1445 
CPXERR_ROW_REPEATS 
Row '%s' repeats 
The MPS problem contains duplicate row entries. Inspect and edit the file. 
1446 
CPXERR_COL_REPEATS 
Column '%s' repeats 
The MPS problem file contains duplicate column entries. Inspect and edit the file. 
1447 
CPXERR_RIM_REPEATS 
Line %d: %s '%s' repeats 
The MPS file contains duplicate names. 
1448 
CPXERR_ROW_UNKNOWN 
Line %d: '%s' is not a row name 
The MPS file specifies a row name that does not exist. 
1449 
CPXERR_COL_UNKNOWN 
Line %d: '%s' is not a column name 
The MPS file specifies a column name that does not exist. 
1453 
CPXERR_NO_ROW_SENSE 
Line %d: No row sense 
No sense indicator was found on the indicated line. 
1454 
CPXERR_EXTRA_FX_BOUND 
Line %d: 'FX' bound type illegal when prior bound given 
A column with either an upper or lower bound previously assigned has an illegal FX bound assignment. Since the FX bound type fixes both upper and lower bounds, no additional bounds can be specified. Check the MPS file. 
1455 
CPXERR_EXTRA_FR_BOUND 
Line %d: 'FR' bound type illegal when prior bound given 
A column with an upper or lower bound previously assigned has an illegal FR bound assignment. Since the FR bound type has neither an upper nor lower bound, no other bound type can be specified. Check the MPS file. 
1456 
CPXERR_EXTRA_BV_BOUND 
Line %d: 'BV' bound type illegal when prior bound given 
Check the MPS file for bound values which conflict with this type specification. 
1457 
CPXERR_BAD_BOUND_TYPE 
Line %d: Unrecognized bound type '%s' 
An unrecognized bounds sense indicator appears in the MPS file. Acceptable bound senses are BV, LI, UI, UP, LO, FX, FR, MI, PL, and SC. 
1458 
CPXERR_UP_BOUND_REPEATS 
Line %d: Repeated upper bound 
The upper bound for a column is repeated within the problem file on the indicated line. Two individual upper bounds could exist. Alternately, a PL bound and individual bound could be in conflict. Check the MPS file. 
1459 
CPXERR_LO_BOUND_REPEATS 
Line %d: Repeated lower bound 
The lower bound for a column is repeated within the problem file on the indicated line. Two individual lower bounds could exist. Alternately, an MI bound and individual lower bound could be in conflict. Check the MPS file. 
1460 
CPXERR_NO_BOUND_TYPE 
Line %d: Bound type missing 
No bound type could be found for the indicated column bound on the indicated line. Check the MPS file. 
1461 
CPXERR_NO_QMATRIX_SECTION 
Line %d: No QMATRIX section 
The required QMATRIX section for quadratic programs is missing from the QP file. Check the file. 
1462 
CPXERR_BAD_SECTION_ENDATA 
Line %d: Unrecognized section indicator. Expecting ENDATA 
An unrecognized MPS file section indicator after the COLUMNS section of the MPS file. 
1463 
CPXERR_INT_TOO_BIG_INPUT 
Line %d: Magnitude exceeds integer limit 
A number has been read that is larger than the biggest integer value that can be represented by the computer. 
1464 
CPXERR_NAME_TOO_LONG 
Line %d: Identifier/name too long to process 
The length of the identifier or name was beyond the size CPLEX can process. 
1471 
CPXERR_NO_ROWS_SECTION 
Line %d: No ROWS section 
No ROW section was found in the MPS file. 
1472 
CPXERR_NO_COLUMNS_SECTION 
Line %d: No COLUMNS section 
The required COLUMNS section is missing from the MPS file. Check the file. 
1473 
CPXERR_BAD_SECTION_BOUNDS 
Line %d: Unrecognized section indicator. Expecting RANGES, BOUNDS, QMATRIX, or ENDATA 
An unrecognized MPS file section indicator after the COLUMNS section of the MPS file. 
1474 
CPXERR_RANGE_SECTION_ORDER 
Line %d: 'RANGES' section out of order 
The RANGES section can only appear after the RHS section in an MPS file. 
1475 
CPXERR_BAD_SECTION_QMATRIX 
Line %d: Unrecognized section indicator. Expecting QMATRIX or ENDATA 
An unrecognized MPS file section indicator after the RHS or BOUNDS section of the MPS file. 
1476 
CPXERR_NO_OBJECTIVE 
Line %d: No objective row found 
No free row was found in the MPS file. Check the file. At least one free row must be present. Free rows have an 'N' sense beginning in column 2. 
1477 
CPXERR_ROW_REPEAT_PRINT 
%d Row repeats messages not printed 
The MPS problem or REV file contains duplicate row entries. Inspect and edit the file.  
1478 
CPXERR_COL_REPEAT_PRINT 
%d Column repeats messages not printed 
The MPS problem or REV file contains duplicate column entries. Inspect and edit the file.  
1479 
CPXERR_RIMNZ_REPEATS 
Line %d: %s %s repeats 
The MPS file contains duplicate entries in an extra rim vector. 
1480 
CPXERR_EXTRA_INTORG 
Line %d: 'INTORG' found while reading integers 
Integer markers are incorrectly positioned in the MPS file. 
1481 
CPXERR_EXTRA_INTEND 
Line %d: 'INTEND' found while not reading integers 
Integer markers are incorrectly positioned in the MPS file. 
1482 
CPXERR_EXTRA_SOSORG 
Line %d: 'SOSORG' found while reading a SOS 
SOS markers are incorrectly positioned in the MPS file. 
1483 
CPXERR_EXTRA_SOSEND 
Line %d: 'SOSEND' found while not reading a SOS 
SOS markers are incorrectly positioned in the MPS file. 
1484 
CPXERR_TOO_MANY_RIMS 
Too many rim vectors 
Reset the rim vector read limit to a larger number. 
1485 
CPXERR_TOO_MANY_RIMNZ 
Too many rim nonzeros 
Reset the rim vector nonzero read limit to a larger number. 
1486 
CPXERR_NO_ROW_NAME 
Line %d: No row name 
A row name is missing within the ROWS section.  
1487 
CPXERR_BAD_OBJ_SENSE 
Line %d: Unrecognized objective sense '%s' 
There is an OBJSENSE line in an MPS problem file, but CPLEX can not locate the MIN or MAX objective sense statement. Check the MPS file for correct syntax. See the CPLEX User's Manual for a description of MPS format. 
1530 
CPXERR_NET_DATA 
Inconsistent network file 
Check the NET format file for errors. 
1531 
CPXERR_NOT_MIN_COST_FLOW 
Not a min-cost flow problem 
Check the MIN format file for errors. 
1532 
CPXERR_BAD_ROW_ID 
Incorrect row identifier 
Selected row does not exist. 
1537 
CPXERR_BAD_CHAR 
Illegal character 
Character not allowed. See NET or MIN format descriptions. 
1538 
CPX_NET_FILE_SHORT 
Unexpected end of network file 
Check the NET format file for errors. 
1550 
CPXERR_BAS_FILE_SHORT 
Basis missing some basic variables 
Number of basic variables is less than the number of rows. 
1551 
CPXERR_BAD_INDICATOR 
Line %d: Unrecognized basis indicator '%s' 
An invalid basis indicator appears in the BAS file. 
1552 
CPXERR_NO_ENDATA 
'ENDATA' missing 
BAS files must have an ENDATA record as the last line of the file. 
1553 
CPXERR_FILE_ENTRIES 
Line %d: Wrong number of entries 
The BAS or VEC file contains a line with too many entries. 
1554 
CPXERR_SBASE_ILLEGAL 
Superbases are not allowed 
Basis or restart file contains superbasis that cannot be read. 
1555 
CPXERR_BAS_FILE_SIZE 
%d %s basic variable(s) 
1556 
CPXERR_NO_VECTOR_SOLN 
Vector solution does not exist 
Could not write VEC file because no vector solution is available. 
1560 
CPXERR_NOT_SAV_FILE 
File '%s' is not a SAV file 
The selected file does not match the type specified. 
1561 
CPXERR_SAV_FILE_DATA 
Not enough data in SAV file 
The file is corrupted or was generated by an incompatible version of the software. 
1562 
CPXERR_SAV_FILE_WRITE 
Unable to write SAV file to disk 
CPLEX could not open or write to the requested SAV file. Check the file designation and disk space. 
1563 
CPXERR_FILE_FORMAT 
File '%s' has an incompatible format. Try setting 'reverse' flag 
When reading a binary file produced on a different computer system, setting the reverse byte ordering may allow reading. 
1602 
CPXERR_ADJ_SIGNS 
Lines %d,%d: Adjacent signs 
The previous line ended with a "+" or a "-" and that the subsequent line must start with a variable name rather than an operator. 
1603 
CPXERR_RHS_IN_OBJ 
Line %d: RHS sense in objective 
The objective row erroneously includes a sense indicator. 
1604 
CPXERR_ADJ_SIGN_SENSE 
Lines %d,%d: Adjacent sign and sense 
A sense indicator erroneously follows an arithmetic operator. 
1605 
CPXERR_QUAD_IN_ROW 
Line %d: Quadratic term in constraint 
Quadratic terms are allowed only in the objective function. 
1606 
CPXERR_ADJ_SIGN_QUAD 
Lines %d,%d: Adjacent sign and quadratic character 
The previous line ended with a "+" or a "-" and that the subsequent line must start with a variable name rather than an one of the reserved quadratic characters []*^. 
1607 
CPXERR_NO_OPERATOR 
Line %d: Expected '+' or '-', found '%c' 
Some character other than '+' or '-' appears between variable names on the indicated line. 
1608 
CPXERR_NO_OP_OR_SENSE 
Line %d: Expected '+','-' or sense, found '%c' 
Some character other than a + or - operator, as required, appears on the indicated line.  
1609 
CPXERR_NO_ID_FIRST 
Line %d: Expected identifier first 
A variable name is missing on the indicated line.  
1610 
CPXERR_NO_RHS_COEFF 
Line %d: Expected RHS coefficient 
No RHS coefficient is present after the sense indicator on the indicated line.  
1611 
CPXERR_NO_NUMBER_FIRST 
Line %d: Expected number first 
Some character other than a number, as required, appears on the indicated line.  
1612 
CPXERR_NO_QUAD_EXP 
Line %d: Expected quadratic exponent 
An exponent of 2 is expected after the ^ operator 
1613 
CPXERR_QUAD_EXP_NOT_2 
Line %d: Quadratic exponent must be 2 
Only an exponent of 2 is allowed after the exponentiation operator ^. 
1614 
CPXERR_NO_QP_OPERATOR 
Line %d: Expected ^ or * 
The ^ or * operator is missing from the QP term. 
1615 
CPXERR_NO_NUMBER 
Line %d: Expected number, found '%c' 
Some character other than a number, as required, appears on the indicated line. 
1616 
CPXERR_NO_ID 
Line %d: Expected identifier, found '%c' 
Instead of the expected identifier CPLEX found the character shown. 
1617 
CPXERR_BAD_ID 
Line %d: '%s' not valid identifier 
An illegal variable or row name exists on the indicated line. 
1618 
CPXERR_BAD_EXPONENT 
Line %d: Exponent '%s' not %s with number 
The characters following an exponent on the indicated line are not numbers. 
1619 
CPXERR_Q_DIVISOR  
Line %d: Missing or incorrect divisor for Q terms 
Quadratic terms must be enclosed in square brackets and followed by a divide sign with divisor 2, i.e., [ ]/2. 
1621 
CPXERR_NO_BOUND_SENSE 
Line %d: No bound sense 
The sense indicator is missing on the indicated line. 
1622 
CPXERR_BAD_BOUND_SENSE 
Line %d: Invalid bound sense 
An invalid bounds sense indicator appears in the LP file. Acceptable bound senses are "<", ">", "=", or "free". 
1623 
CPXERR_NO_NUMBER_BOUND 
Line %d: Missing bound number 
The bound data is missing from the LP file. CPLEX expected a number where no number was found. 
1624 
CPXERR_LP_TOO_MANY_ROWS 
Line %d: More than %d constraints 
Extra space is insufficient. Increase extra space using read limits. 
1625 
CPXERR_LP_TOO_MANY_COLS 
Line %d: More than %d variables 
Extra space is insufficient. Increase extra space using read limits. 
1626 
CPXERR_LP_TOO_MANY_COEFFS 
Line %d: More than %d coefficients 
Extra space is insufficient. Increase extra space using read limits. 
1627 
CPXERR_NO_SOS_SEPARATOR 
Expected ':', found '%c' 
The separator "::" must follow the S1 or S2 declaration. 
1650 
CPXERR_INVALID_NUMBER 
Number not representable in exponential notation 
The number to be printed is not representable. 
1701 
CPXERR_IIS_NO_INFO 
No IIS information exists 
The IIS algorithm found no IIS sets, so the routine CPXgetiis() fails. Callable Library users see this message if CPXgetiis() or CPXdisplayiis() is called before computing the IIS. 
1702 
CPXERR_IIS_NO_SOLN 
No solution exists; infeasibility analysis not available 
The requested command cannot be executed because no solution exists for the problem. Optimize the problem first. 
1703 
CPXERR_IIS_FEAS 
Problem is feasible; no IIS available 
The problem solved with indication of numerical uncertainty. It may be feasible. 
1704 
CPXERR_IIS_NOT_INFEAS 
Problem may be feasible; no IIS available 
The problem solved with indication of numerical uncertainty. It may be feasible. 
1705 
CPXERR_IIS_OPT_INFEAS 
Problem optimal with unscaled infeasibilities. No IIS available  
The problem solved with only unscaled infeasibilities. The IIS algorithm cannot be applied. 
1706 
CPXERR_IIS_DEFAULT 
Unable to compute an IIS 
The problem solved with indication of numerical uncertainty. It may be feasible. 
1707 
CPXERR_IIS_NO_BASIC 
Infeasibility Finder requires a basic solution 
Primal or dual simplex or crossover from a barrier solution must first be used prior to applying the IIS algorithm.  
1708 
CPXERR_IIS_NO_PRIMAL 
Infeasibility Finder requires a primal infeasible basis 
An IIS can be determined only if a primal method finds the problem to be primal infeasible. 
1709 
CPXERR_IIS_NO_LOAD 
Failed to load IIS subproblem 
Most likely there is insufficient memory to perform the IIS analysis. 
1710 
CPXERR_IIS_SUB_OBJ_LIM 
Objective limit reached on IIS subproblem 
Indicated limit hit during the solution of a subproblem. 
1711 
CPXERR_IIS_SUB_IT_LIM 
Iteration limit reached on IIS subproblem 
Indicated limit hit during the solution of a subproblem. 
1712 
CPXERR_IIS_SUB_TIME_LIM 
Time limit reached on IIS subproblem 
Indicated limit hit during the solution of a subproblem. 
1713 
CPXERR_IIS_NUM_BEST 
Unable to optimize IIS subproblem 
Status of subproblem optimization is unknown due to numerical uncertainty. Check scaling of problem. 
1801 
CPXERR_WORK_FILE_OPEN 
Could not open temporary file 
CPLEX was unable to access a temporary file in the directory specified by CPX_PARAM_WORKDIR.  
1802 
CPXERR_WORK_FILE_READ 
Failure on temporary file read 
CPLEX was unable to read a temporary file in the directory specified by CPX_PARAM_WORKDIR.  
1803 
CPXERR_WORK_FILE_WRITE 
Failure on temporary file write 
CPLEX was unable to write a temporary file in the directory specified by CPX_PARAM_WORKDIR.  
3002 
CPXERR_BOUNDS_BINARY 
Binary variable '%s' has value outside [0,1] 
The referenced variable, type binary, has been assigned bounds outside of 0 and 1. Change the bounds to 0 and 1. 
3003 
CPXERR_NOT_MIP 
Not a mixed-integer problem 
The requested operation can only be performed on a mixed integer problem. 
3004 
CPXERR_SOS_BOUNDS 
Infeasible bounds for set number %d 
An SOS exists with variable having upper or lower bounds such that no feasible solution exists. 
3006 
CPXERR_BAD_PRIORITY 
Negative priority entry %d 
Priority orders must be positive integer values. 
3007 
CPXERR_ORDER_BAD_DIRECTION 
Illegal direction entry %d 
Legal direction entries are limited to the values CPX_BRANCH_GLOBAL, CPX_BRANCH_DOWN, and CPX_BRANCH_UP
3009 
CPXERR_ARRAY_BAD_SOS_TYPE 
Illegal sostype entry %d 
Only sostype values of 1 or 2 are legal. 
3010 
CPXERR_UNIQUE_WEIGHTS 
Set does not have unique weights 
SOS weights must be unique. 
3011 
CPXERR_BOUNDS_INT 
Non-integral %s bound value %g for integer column '%s' 
Check to be sure that bounds for integer variables have integer values. 
3012 
CPXERR_BAD_DIRECTION 
Line %d: Unrecognized direction '%c%c' 
Only UP and DN are accepted as branching directions beginning in column 2 of an ORD file. 
3015 
CPXERR_NO_SOS 
No user-defined SOSs exist 
SOS information can be written to a file only if already defined. SOS Type 3 information (found using the SOSSCAN feature) cannot be written to an SOS file. 
3016 
CPXERR_NO_ORDER 
No priority order exists 
The requested command cannot be executed because no priority order has been loaded. 
3017 
CPXERR_NO_INT_SOLN 
No integer feasible solution exists 
An integer feasible solution must exist before the requested operation can be performed. 
3018 
CPXERR_INT_TOO_BIG 
Magnitude of variable %s: %g exceeds integer limit 
CPXmipopt() tried to branch on the indicated integer variable at a value larger than representable in the branch-and-bound tree. Check model formulation. 
3019 
CPXERR_SUBPROB_SOLVE 
Failure to solve MIP subproblem 
CPXmipopt() failed to solve one of the subproblems in the branch-and-bound tree. This can be due to a limit (for example, an iteration limit) or numerical trouble. Check the log, or add a call to CPXgetsubstat() (in the Callable Library) for information on the cause. 
3020 
CPXERR_NO_MIPSTART 
No MIP start exists 
CPXgetmipstart() failed because no MIP start data is available for the problem. 
3021 
CPXERR_BAD_CTYPE 
Illegal ctype entry %d 
An illegal ctype character has been passed to CPXchgctype(). Use one of 'C', 'B', 'I', `S' or `N'. 
3022 
CPXERR_SEMI_BDS 
Infinite bds on semi-continuous or semi-integer variable %d 
Semi-continuous or semi-integer variables must have finite bounds. 
3023 
CPXERR_NO_INT_X 
Integer feasible solution values are unavailable 
When the incumbent for the problem has been provided by a MIP Start or by an advanced callback function working on the original problem, the incumbent solution values are not available for the reduced problem. 
3301 
CPXERR_MISS_SOS_TYPE 
Line %d: Missing SOS type 
SOS type not specified. 
3401 
CPXERR_TRE_FILE_DATA 
Not enough data in TRE file 
The TRE file became corrupted. 
3402 
CPXERR_TRE_FILE_WRITE 
Error on write to TRE file 
The TRE file could not be written. Check available disk space. 
3403 
CPXERR_TRE_FILE_VERSION 
Can't read TRE file written by CPLEX %s (Current version is %s) 
The TRE file could not be interpreted and may be corrupted or produced by an incompatible prior version of CPLEX. 
3404 
CPXERR_TRE_FILE_OBJ 
Objective names in TRE file %s do not match current problem 
The problem being solved must match that at the time the TRE file was created. 
3405 
CPXERR_TRE_FILE_COLS 
Tree in file %s does not match the current problem. Number of variables in TRE file: %d. Number of variables in current problem: %d 
The problem being solved must match that at the time the TRE file was created. 
3406 
CPXERR_TRE_FILE_ROWS 
Tree in file %s does not match the current problem. Number of constraints in TRE file: %d. Number of constraints in current problem: %d 
The problem being solved must match that at the time the TRE file was created. 
3407 
CPXERR_TRE_FILE_INTS 
Tree in file %s does not match the current problem. Number of integer variables in TRE file: %d. Number of integer variables in current problem: %d 
The problem being solved must match that at the time the TRE file was created. 
3408 
CPXERR_TRE_FILE_NONZ 
Tree in file %s does not match the current problem. Number of nonzeros in TRE file: %d. Number of nonzeros in current problem: %d 
The problem being solved must match that at the time the TRE file was created. 
3409 
CPXERR_TRE_FILE_TYPES 
Different type in TRE file %s for variable '%s' 
The problem being solved must match that at the time the TRE file was created. 
3410 
CPXERR_TRE_FILE_PRESOLVE 
Presolve setting for %s in file %s does not match the current setting 
The presolve settings in effect at the time the TRE file was generated must match those at the time it is read. 
3412 
CPXERR_NO_TREE 
Current problem has no tree 
No tree exists until after the mixed integer optimization has begun. 
3413 
CPXERR_TREE_MEMORY_LIMIT 
Tree memory limit exceeded 
The reading of the tree file has stopped because the tree memory limit has been reached. 
3414 
CPXERR_TRE_FILE_FORMAT 
File '%s' has an incompatible format 
The TRE file was produced on a computer with a different byte ordering scheme. 
3501 
CPXERR_NODE_FILE_OPEN 
Could not open node file 
CPLEX failed to open a node file for updating. 
3502 
CPXERR_NODE_FILE_READ 
Failure on node file read 
CPLEX failed to read from a node file. 
3503 
CPXERR_NODE_FILE_WRITE 
Failure on node file write 
CPLEX failed to write to a node file. 
3504 
CPXERR_NODE_ON_DISK 
No callback info ondisk/compressed nodes 
Information on nodes stored in node files is not available through the advanced callback functions. 
3601 
CPXERR_PTHREAD_MUTEX_INIT 
Could not initialize mutex 
A system call needed to initialize parallel MIP 
3603 
CPXERR_PTHREAD_CREATE 
Could not create thread 
A system call needed to initialize parallel MIP failed. 
5001 
CPXERR_BAD_Q 
Invalid quadratic matrix. Unequal off-diagonal components 
The Q matrix must be symmetric. 
5002 
CPXERR_Q_NOT_POS_DEF 
Q is not positive semi-definite 
The Q matrix must be positive semi-definite (for minimizations) to apply the Barrier algorithm. Check the quadratic term. 
5004 
CPXERR_NOT_QP 
Not a quadratic program 
The requested operation can only be performed on a quadratic problem. 
5011 
CPXERR_Q_DUP_ENTRY 
Duplicate entry for pair '%s' and '%s' 
Duplicate entries for the quadratic term exist. 
5012 
CPXERR_Q_NOT_SYMMETRIC 
Q is not symmetric 
The Q matrix must be symmetric. Check off diagonal element. 
5014 
CPXERR_Q_NOT_INDEF 
Q is not indefinite 
Function requires that the Q matrix be indefinite. 
32201 

 
Licensing problem 
A licensing error has occurred. Check the ILOG_LICENSE_FILE environment variable. For more information, consult the troubleshooting section of the ILOG License Manager User's Guide & Reference


Previous Page: Error Messages Return to Top Next Page: Solution Quality Values