Previous Page: Solution Status CodesFirst PageNext Page: Solution Quality Values

Error Messages


Several format codes are used in the table on the following pages. The codes and their meanings are:

%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  
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.  
1005  
CPXERR_POINTER_MISMATCH

Pointer mismatch prevents memory reallocation  
The pointers passed within CPXreallocprob() don't match those of original problem.  
1007  
CPXERR_POSITIVE_SPACE

Space allocated for a problem must be positive  
Space argument to a problem load routine, or CPXreallocprob() , must be positive.  
1008  
CPXERR_MEMORY_MODEL

Not valid for problem memory model  
The called routine requires a problem created via CPXcreateprob() , and the problem was created with a problem load routine, or vice versa.  
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  
It is not permitted to call CPXcloseCPLEX() on 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

Not a MIP, relaxed MIP, or fixed MIP  
Function requires that MIP data exist for the problem passed in.  
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 512  
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 load SOS info from original MIP  
CPLEX's call to CPXloadsos() failed.  
1109  
CPXERR_PRESLV_COPYORDER

Can't load priority order info from original MIP  
CPLEX's call to CPXloadorder() failed.  
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.  
1116  
CPXERR_PRESLV_COPYMIPSTAT

Can't copy MIP start info from original MIP  
Most likely insufficient memory exists to complete the presolve step.  
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.  
1202  
CPXERR_COL_NEW_INDEX_RANGE

New column %d has invalid index %d  
The added column includes a row number which is negative or is greater than or equal to the number of rows in the problem matrix.  
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.  
1204  
CPXERR_ROW_NEW_INDEX_RANGE

New row %d has invalid index %d  
The added row includes a column number which is negative or is greater than or equal to the number of columns in the current problem matrix.  
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  
Name does not exist. Check CPXgetcolindex() or CPXrowindex() arguments.  
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.  
1214  
CPXERR_CANT_REALLOC_RIMS

Cannot reallocate problem with rim data  
CPXreallocprob() cannot realloc rims. Unload and reload the problem.  
1215  
CPXERR_BAD_SENSE

Illegal sense '%c'  
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.  
1218  
CPXERR_NO_RIM

No rim vectors  
No rim exists for this problem.  
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 CPXloadprob().  
1220  
CPXERR_NO_OBJ_NAME

Must have objective name  
Objective function must have a name assigned, in order to use REVISE format.  
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.  
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 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 unbounded by the dual simplex algorithm.  
1290  
CPXERR_NET_SMALL

Network too small  
No significant network could be extracted from the problem.  
1291  
CPXERR_NET_IMBALANCE

Supplies and demands do not balance  
Modify network formulation so that supplies and demands in the network portion of the problem match.  
1292  
CPXERR_BAD_METHOD

Invalid choice of optimization method  
Unknown method selected for CPXhybnetopt() or CPXhybbaropt(). Select one of 'd' or 'p'.  
1401  
CPXERR_NO_SPACE

Not enough space  
Insufficient space exists to add specified constraints or variables, or insufficient space is allocated to hold new columns or rows specified within a REV file.  
1402  
CPXERR_NO_SPACE_FREE

Not enough space to add free rows  
Insufficient space exists to add specified constraints or variables, or insufficient space is allocated to hold new columns or rows specified within a REV file.  
1403  
CPXERR_NO_SPACE_FREE_NZ

Not enough space for free row nonzeros  
Insufficient space exists to add specified constraints or variables, or insufficient space is allocated to hold new columns or rows specified within a REV file.  
1404  
CPXERR_NO_SPACE_FREE_NAM

Not enough space for free row names  
Insufficient space exists to add specified constraints or variables, or insufficient space is allocated to hold new columns or rows specified within a REV file.  
1406  
CPXERR_NO_SPACE_NAMES

Names need space for %d characters, only %d available  
Reload problem, increasing the size of the arrays for names.  
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 matrix coefficients than are allowed.  
1433  
CPXERR_TOO_MANY_COEFFS

Too many coefficients  
The problem contains more columns 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 or REV file contains duplicate row entries. Inspect and edit the file. If the error occurred during the reading of a REV file the problem must be reloaded.  
1446  
CPXERR_COL_REPEATS

Column '%s' repeats  
The MPS problem or REV file contains duplicate column entries. Inspect and edit the file. If the error occurred during the reading of a REV file the problem must be reloaded.  
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 or REV file specifies a row name that does not exist.  
1449  
CPXERR_COL_UNKNOWN

Line %d: '%s' is not a column name  
The MPS or REV file specifies a column name that does not exist.  
1450  
CPXERR_RHS_UNKNOWN

Line %d: '%s' is not a RHS name  
The REV file specifies a RHS name that does not exist.  
1451  
CPXERR_BOUND_UNKNOWN

Line %d: '%s' is not a bound name  
The REV file specifies a bound name that does not exist.  
1452  
CPXERR_RANGE_UNKNOWN

Line %d: '%s' is not a range name  
The REV file specifies a range that does not exist.  
1453  
CPXERR_NO_ROW_SENSE

Line %d: No row sense  
No sense indicator was found on the indicated line. If this error appears in a REV file the problem must be reloaded.  
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 and PL.  
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 MPS 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_NAME_TOO_LONG

Line %d: Identifier/name too long to process  
A number has been read that is larger than the biggest integer value that can be represented by the computer.  
1464  
CPXERR_INT_TOO_BIG_INPUT

Line %d: Magnitude exceeds integer limit  
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.  
1501  
CPXERR_REV_INDICATOR

Line %d: Revision control indicator missing  
The control indicator record is missing in the REV file.  
1502  
CPXERR_REV_REPEATS

Line %d: Repeated revision of '%s'  
The REV file contains multiple revisions of a type that can only be made once, such as a deletion.  
1503  
CPXERR_REV_OBJROW_ILLEG

Line %d: Revision of objective row illegal  
The REV file includes instructions to modify the objective function. CPLEX does not support this operation.  
1504  
CPXERR_REV_SEN_N_ILLEG

Line %d: Modification to or from sense 'N' illegal  
CPLEX does not support selecting a new objective function nor deleting the current objective function via a REV file.  
1505  
CPXERR_REV_EXTRA_RIM

Line %d: More than %d extra rim vectors  
The REV file contains more than the maximum number of rim vectors.  
1506  
CPXERR_REV_RIM_NAMES

Rim names need space for %d characters, only %d available  
Insufficient space is allocated to hold the names of rim vectors.  
1507  
CPXERR_REV_DELRHS_ILLEG

Line %d: Deletion of active RHS illegal  
The REV file includes instructions to delete the active RHS. CPLEX does not support this operation.  
1508  
CPXERR_REV_RHS_COEFF

Line %d: More than %d new RHS coefficients  
The REV file contains more than the maximum number of coefficients.  
1509  
CPXERR_REV_DELRNG_ILLEG

Line %d: Deletion of active range illegal  
The REV file includes instructions to delete the active range vector. CPLEX does not support this operation.  
1510  
CPXERR_REV_RANGE_COEFF

Line %d: More than %d range coefficients  
The REV file contains more than the maximum number of range coefficients.  
1511  
CPXERR_REV_NO_RANGES

No active ranges loaded. Range revision illegal  
No ranges exist to be modified.  
1512  
CPXERR_REV_DELBND_ILLEG

Line %d: Deletion of active bound illegal  
The REV file includes instructions to delete the active bound vector. CPLEX does not support this operation.  
1513  
CPXERR_REV_BIN_UB

Line %d: Non-one bound on binary variable  
The REV file contains an upper bound for a binary variable not equal to 1.  
1514  
CPXERR_REV_BND_COEFF

More than %d coefficients during extra bound '%s' processing  
Insufficient extra space was set aside to hold revision data. Increase the amount of "extra space" in the problem read limits before reading the problem.  
1515  
CPXERR_REV_RIM_COEFF

Space for %d extra rim nonzeros needed, only %d available  
More space than is available is required to store extra nonzeros. Increase the amount of extra space allocated.  
1516  
CPXERR_REV_TOO_MANY_ROWS

Line %d: More than %d new rows  
Too many new rows are added in the REV file.  
1517  
CPXERR_REV_TOO_MANY_COLS

Line %d: More than %d new columns  
Too many new columns are added in the REV file.  
1518  
CPXERR_REV_TOO_MANY_NZS

Line %d: More than %d new coefficients  
Too many new nonzero coefficients are added in the REV file.  
1519  
CPXERR_REV_TOO_MANY_RIMV

Line %d: More than %d new extra rim vectors  
Reset the rim vector read limit to a larger number.  
1532  
CPXERR_BAD_ROW_ID

Incorrect row identifier  
Selected row does not exist.  
1533  
CPXERR_DEMAND_BALANCE

Demands not balanced  
Demands and supplies must balance in any network problem.  
1537  
CPXERR_BAD_CHAR

Illegal character  
Character not allowed. See MPS or LP format descriptions.  
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.  
1555  
CPXERR_BAS_FILE_SIZE

%d %s basic variable(s)  
Number of basic variables doesn't match the problem. Check CPXloadbase() call.  
1560  
CPXERR_NOT_SAV_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 operator, found '%c'  
Some character other than an arithmetic operator 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.  
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.  
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 CPXgetiis() routine 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 an infeasible primal problem  
No IIS can be determined if the dual algorithm finds the problem to be dual 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.  
3001  
CPXERR_ALREADY_CTYPE

ctype array already loaded for lp  
The routine CPXloadctype() failed because a ctype array has been previously loaded.  
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, %d  
Priority orders must be positive integer values.  
3007  
CPXERR_ORDER_BAD_DIRECTION

Illegal direction %d  
Legal direction entries are limited to the values 0, 1, and 2.  
3009  
CPXERR_ARRAY_BAD_SOSTYPE

Illegal sostype %c  
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 '%c'  
An illegal ctype character has been passed to CPXchgctype() . Use one of 'C', 'B' or 'I'.  
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 settings for tree in file %s do not match the current settings  
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 on disk/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  
3602  
CPXERR_SUN_CONCURRENCY

Could not set concurrency level  
The Solaris system call thr_setconcurrency() failed.  
3603  
CPXERR_PTHREAD_CREATE

Could not create thread  
A system call needed to initialize parallel MIP failed.  
4001  
CPXERR_BARRIER_NUMERICAL

Unrecoverable error in barrier algorithm  
Numerical problems prevent the Barrier algorithm from proceeding. Turn up logging to determine problem.  
4003  
CPXERR_BARRIER_AUG_SCHUR

Not enough memory to do augmented Schur complements  
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.  
4004  
CPXERR_BARRIER_NO_MEMORY

Not enough memory for barrier solve  
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.  
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 Q term.  
5003  
CPXERR_Q_NOT_MATRIX

Cannot change off-diagonal element of quadratic matrix loaded as separable  
This routine does not support off diagonal modifications since the Q was loaded as separable.  
5004  
CPXERR_NOT_QP

Not a quadratic program  
The requested operation can only be performed on a quadratic problem.  
5006  
CPXERR_Q_SEP_INDEF

Separable objective is indefinite  
The Q matrix must be positive semi-definite (for minimizations) to apply the Barrier algorithm. Check the Q term.  
5007  
CPXERR_QP_BAD_BAR_ALG

Invalid barrier algorithm for quadratic programs  
Only the default barrier algorithm can be used to solve QP problems.  
5009  
CPXERR_Q_NO_SPACE

Insufficient space in Q matrix  
Insufficient space in the Q matrix exists to make the requested coefficient change.  
5010  
CPXERR_Q_NEG_ZERO_COMP

Q has negative or zero value diagonal components on %d quadratic variables  
Every off diagonal term must also appear on the diagonal of the Q matrix and must be positive (for a minimization).  
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.  
32001  
 
No license root file was found  
No license directory pointer file was found. Check that the CPLEXLICENSE environment variable is properly set and that the pointer file is correct.  
32002  
 
No license directory name was found  
The license directory pointer file does not contain a directory name.  
32003  
 
License directory name is not a directory  
The specified license directory is not a directory. Check the pointer file.  
32004  
 
License directory not found  
This can happen under the following conditions: a) A license is being deleted and the licensing directory is not found  
b) The file /usr/lib/cplex.licdir exists and specifies a directory that does not exist.  
c) The environment variable specifies a directory pointer file that contains the name of a directory that does not exist.  
32005  
 
No license root file was found  
cpxlicense could not create the license directory pointer file. Check permissions.  
32007  
 
License directory cannot be created  
This occurs in cpxlicense when the licensing directory specified in /usr/lib/cplex.licdir cannot be created, or the licensing directory specified in the directory pointer file contained in the environment variable CPLEXLICENSE cannot be created. This could also happen if the CPLEXLICENSE environment variable no longer identifies the directory pointer file. Check permissions or the setting of the CPLEXLICENSE environment variable.  
32008  
 
License file already exists  
cpxlicense -n cannot overwrite an existing license.  
32009  
 
Host has an improper identifier  
Illegal or impossible to maintain hostids are disallowed.  
32010  
 
Could not create initial license file  
Some file system or permissions problem is keeping the license file from being created.  
32011  
 
Corrupted or nonexistent license file  
This occurs whenever the licensing file in the license directory is checked, and it does not exist, or does not have the right number of characters in it. This can happen due to inappropriately specifying the CPLEXLICENSE environment variable, or the directory name that is present inside of the directory pointer file.  
32012  
 
No match in license  
An error in entering the license code has occurred. Check entry.  
32013  
 
No match in license serial number  
The serial number in the license does not match the serial number of the activated license, and indicates possible tampering. This can also happen if the user tries to copy licensing files on the same machine to a different directory. Delete the license and reinstall or perform a license restore operation.  
32014  
 
Environment variable specifies file that does not exist  
This occurs when the user sets the environment variable CPLEXLICENSE to contain the name of a file that does not exist, or a file that the user cannot read due to permissions.  
32015  
 
License not valid for this host  
When CPLEX is running, this message occurs when the license is not valid for the host it is running on. This can occur if certain machine configurations have been made. On personal computers using a license hardware key, this can mean that the key or cable is missing or inaccessible.  
32016  
 
Invalid serial number  
In cpxlicense, if the user enters a license with a serial number that does not match that of the current license, this message is printed. This can only occur if cpxlicense has been run again before an activation code is obtained or if the user has copied or tampered with the initial license setup. The installation and setup process must be begun again after deleting the invalid license information using cpxlicense -d.  
32017  
 
Invalid encrypted license  
In cpxlicense, if the user enters a license that makes no sense, it is rejected, and this message is printed. Usually a typographic error has been made. Retry inputting the code.  
32018  
 
Invalid application serial number  
The runtime application serial number does not match.  
32019  
 
License directory cannot be deleted  
This occurs in cpxlicense when the licensing directory specified in /usr/lib/cplex.licdir cannot be deleted, or the licensing directory specified in the directory pointer file contained in the environment variable CPLEXLICENSE cannot be deleted. This could also happen if the CPLEXLICENSE environment variable no longer identifies the directory pointer file. Check permissions or the setting of the CPLEXLICENSE environment variable.  
32020  
 
License has expired  
Either the license has an invalid expiration date, or has expired.  
32021  
 
License not valid for this version  
This happens when the user is licensed for an earlier version and is attempting to run on a later version. If maintenance and update service is paid, get a new license code. Otherwise, arrange for this service first and then get a new license code.  
32022  
 
License not valid for this group  
The user is not a member of the Unix group required for this license.  
32023  
 
License not valid for this product  
The license is not intended for the algorithm or product which is attempting to be activated. Examples include attempting to use the CPLEX Base system on a machine licensed for Derivative Work use or using MIP or Barrier algorithms without a license.  
32024  
 
Optimization algorithm not licensed  
This happens if the user tries to call CPXmipoptimize() and MIP is not licensed, or CPXbaropt() or CPXhybbaropt() and Barrier is not licensed.  
32025  
 
Token file missing  
License tampering has occurred.  
32026  
 
Token expired  
The license token for the current CPLEX process has expired.  
32027  
 
Maximum number of CPLEX processes exceeded  
This happens when the number of simultaneous CPLEX-based processes is greater than or equal to the maximum number of processes licensed. This can also happen if Library users do not call CPXcloseCPLEX().  
32028  
 
Error in token creation  
File system error.  
32029  
 
Cannot find token  
Previously created token cannot be accessed. Tampering has occurred.  
32030  
 
Invalid location of licensing directory  
On PC systems, the license directory must be on the same drive as the operating system.  
32031  
 
Default license deletion requires superuser privileges  
On Unix systems, the default license can only be deleted by the superuser.  
32032  
 
Pointer file is a directory. Check CPLEXLICTYPE setting  
CPLEXLICTYPE specifies keyless licensing, but CPLEXLICENSE corresponds to a directory.  
32033  
 
Licensed quota has expired  
The license specifies that a given quota of CPU time is allowed, but the quota has expired.  
32035  
 
Cannot find newly created token  
Previously created token cannot be accessed. Tampering has occurred.  
32037  
 
Cannot update license file - check permissions  
This occurs when there is some type of writing error when creating or updating the licensing file. This could happen if the file system is nearly full or if permissions are incorrect. Running cpxlicense as root usually eliminates this problem.  
32038  
 
Process number of licensee does not match current  
License tampering has been detected.  
32040  
 
Cannot lock newly created token. System error!  
File system prevents file locking needed for the License Manager to work.  
32041  
 
Host has an identifier of zero. Install proper key.  
This occurs when a license key or cable is missing or inaccessible. Simply install the key or check parallel port operation. This only applies to PCs and Macintosh computers.  
32042  
 
Improper serial number for keyless license  
The created license directory has an invalid date/time stamp, indicating a possible problem with the clock setting on the computer.  
32043  
 
Unable to determine root license file location  
The system call on a PC to determine the default location of the pointer file failed.  
32044  
 
Clock setback detected  
The license manager has detected that the clock on the computer has been set back.  
32045  
 
Unable to create marker directory  
User does not have permissions to write to license directory.  
32046  
 
Unable to find newly created marker directory  
Previously created marker directory not found. Tampering has occurred.  
32047  
 
Unable to rewind marker file  
System call failure. Possible tampering.  
32048  
 
Unable to update marker file  
System call failure. Possible tampering.  
32049  
 
Unable to find marker file  
Could not find file T.ptr. Possible tampering.  
32050  
 
Unable to lock marker file  
Could not lock marker file. Possible problem in system configuration in support of locks.  
32051  
 
Unable to read marker file  
Could not read file T.ptr. Possible tampering.  
32052  
 
Invalid encrypted directory in marker file  
Tampering has occurred.  
32053  
 
Unable to find marker directory  
The directory specified in T.ptr was not found. Either tampering has occurred, or there is a system problem.  
32054  
 
Invalid encrypted characters in marker file  
Tampering has occurred.  
32055  
 
No match in marker times  
The system encoded time in the marker directory did not match what was encoded in the T.ptr file. Due to system processes updating status of CPLEX license directory files independent of CPLEX.  
32056  
 
Cannot create marker file  
Permissions do not allow T.ptr to be created in the marker directory.  
32057  
 
Cannot delete marker directory  
Permissions do not allow marker directory to be deleted. Possible tampering.  
32058  
 
Cannot delete marker file  
Permissions do not allow marker file to be deleted. Possible tampering.  
32059  
 
Clock must be set to current date and time  
The clock on the computer must be set to the current date and time. Dates in the past are rejected.  
32301  
 
CPLEX MIP option not licensed  
CPLEX's MIP algorithm is optionally licensed. Your license is without MIP. Contact your CPLEX representative to license this option.  
32302  
 
CPLEX Barrier option not licensed  
CPLEX's Barrier algorithm is optionally licensed. Your license is without barrier. Contact your CPLEX representative to license this option.  

Previous Page: Solution Status CodesFirst PageNext Page: Solution Quality Values