Initializing help system before first use

BCL error messages

There are two types of error messages displayed by BCL. Those marked `E' (for Error) in the following list stop the execution of the program. Those marked `W' (for Warning) do not interrupt the program. The marker `fct' indicates that the name of the function where the error occurred will be printed out.

E-1501   (fct) No active problem.

Function fct has been called with an invalid problem argument. Check whether the problem has been created (function XPRBnewprob).

E-1502   Not enough memory.

It is not possible to allocate the required amount of memory needed for BCL objects.

E-1504   Dictionary cannot be re-initialized.

Dictionary sizes can only be set immediately after the creation of a problem.

E-1505   (fct) No variable given.

Function fct requires a variable of type XPRBvar as an input parameter. Check whether the variable has been created (functions XPRBnewvar or XPRBnewarrvar).

E-1506   (fct) No array of variables given.

Function fct requires an array of variables of type XPRBarrvar as an input parameter. Check whether the array has been created (function XPRBnewarrvar or alternatively functions XPRBstartarrvar and XPRBendarrvar).

E-1507   (fct) No constraint given.

Function fct requires a constraint of type XPRBctr as an input parameter. Check whether the constraint has been created (functions XPRBnewctr, XPRBnewsum, XPRBnewarrsum, or XPRBnewprec).

E-1508   (fct) No SOS given.

Function fct requires a SOS of type XPRBsos as an input parameter. Check whether the set has been created (functions XPRBnewsos, XPRBnewsosrc, or XPRBnewsosw).

E-1509   (fct) No cut given.

Function fct requires a cut of type XPRBcut as an input parameter. Check whether the cut has been created (functions XPRBnewcut, XPRBnewcutsum, XPRBnewcutarrsum, or XPRBnewcutprec).

E-1510   (fct) No basis given.

Function fct requires a basis of type XPRBbasis as an input parameter. Check whether the basisi has been saved (function XPRBsavebasis).

E-1512   (fct) No array of constants given.

Function fct requires an array of constants as an input parameter.

W-1513   (fct) No variable given.

Function fct requires a variable of type XPRBvar as an input parameter. The command is being ignored.

W-1514   (fct) No constraint given.

Function fct requires a constraint of type XPRBctr as an input parameter. The command is being ignored.

E-1515   (fct) Problem has no `name'.

The problem definition is incomplete (at least one variable and one constraint or one non-zero objective coefficient must be defined).

W-1516   (fct) Problem has no `name'.

The problem definition may be incomplete (at least one variable and one constraint or one non-zero objective coefficient must be defined).

W-1518   (fct) No SOS given.

Function fct requires a Special Ordered Set of type XPRBsos as an input parameter. The command is being ignored.

W-1519   (fct) No cut given.

Function fct requires a cut of type XPRBcut as an input parameter. The command is being ignored.

W-1520   (fct) No solution available or problem modified since last solved.

Function fct is trying to access solution information which is not available for the current problem.

E-1521   Xpress Optimizer error getting objective function value.

The objective function value cannot be obtained from Xpress Optimizer.

E-1522   Xpress Optimizer error getting `name' status.

Xpress Optimizer solution status information cannot be obtained.

E-1523   Unknown solution option `char'.

Possible options for XPRBlpoptimize or XPRBmipoptimize include 'b', 'd', 'g', 'l', 'n', 'p', 'c'. Refer to the reference manual for details.

E-1524   (fct) Xpress Optimizer error num during `name'. Return value: val.

An Xpress Optimizer error has occurred while executing the Optimizer function name. Refer to the Optimizer Reference Manual for details on the error number num and return value val.

W-1525   (fct) Different problem loaded in Xpress Optimizer.

(Solution) information is being sought from the Xpress Optimizer on a problem that is not the active problem in Xpress Optimizer. It may be necessary to (re)solve the problem to access this information, or at least, reload the matrix.

E-1526   (fct) Empty problem or problem not loaded in Xpress Optimizer.

(Solution) information is being sought on a problem that has not yet been loaded into Xpress Optimizer. It may be necessary to solve the problem to access this information, or at least, load the matrix into Xpress Optimizer.

W-1527   Loading MIP solution failed. Return value: val.

The specified MIP solution has not been loaded into BCL. Please see the documentation of function XPRBloadmipsol for an explanation of the return values.

E-1530   (fct) Inconsistent bounds for variable `name' (bdl,bdu).

The lower bound is greater than the upper bound for the given variable.

E-1531   (fct) Incorrect type for variable `name'.

No type, or an incorrect type, has been specified for a variable. See the list of possible values in the reference manual (function XPRBsetvartype).

E-1535   (fct) Incorrect type for constraint `name'.

No type, or an incorrect type, has been specified for a constraint. See the list of possible values in the reference manual (function XPRBsetctrtype).

E-1536   (fct) Inconsistent range for constraint `name' (bdl,bdu).

The lower range bound is greater than the upper bound for the given constraint.

E-1538   (fct) Setting `descr' can only be applied to standard constraints.

'Model cut', 'delayed constraint', 'include vars' and 'indicator constraint' are mutually exclusive flags. A constraint for which one of these flags is set cannot be turned into one of the other types without previously resetting the corresponding flag (using the appropriate function XPRBsetincvars, XPRBsetmodcut, XPRBsetdelayed, or XPRBsetindicator with argument value 0).

E-1539   (fct) Incorrect constraint type for indicator constraint `name'.

Indicator constraints must be inequalities or range constraints.

E-1540   (fct) Trying to modify a closed array of variables (`name').

It is not possible to make changes to an array of variables after its definition has been terminated with XPRBendarrvar.

E-1541   (fct) Index num1 out of range for an array of variables (`name' max = num2).

Trying to store too many elements in an array of variables or addressing an index beyond its size.

E-1542   (fct) Trying to add an entry (`name') to a complete array of variables (`name').

If the number of elements of the array of variables corresponds to its size, it is not possible to add any further variables.

E-1543   (fct) Trying to close an incomplete array of variables (`name').

Not all elements of an array of variables that is being closed with XPRBendarrvar have been defined.

E-1545   (fct) Wrong type for SOS `name'.

No type, or an incorrect type, has been specified for a SOS. See the list of possible values in the reference manual (function XPRBgetsostype).

E-1546   (fct) Name too long (max = num `name').

A user-defined name exceeds the maximum length (see documentation of function XPRBnewname).

E-1547   (fct) Wrong directive type.

No type, or an incorrect type, has been specified for a directive. See the list of possible values in the reference manual (functions XPRBsetvardir or XPRBsetsosdir).

E-1550   (fct) No index set given.

Function fct requires an index set of type XPRBidxset as an input parameter. Check whether the index set has been created (function XPRBnewidxset).

W-1551   (fct) No name given for an element of an index set.

Function fct requires an index name as input parameter. The command is being ignored.

W-1552   (fct) No index set given.

Function fct requires an index set of type XPRBidxset as an input parameter. The command is being ignored.

W-1555   Incorrect IIS index given (num).

The specified index value num does not correspond to an IIS set (IIS set indices are positive numbers). The command is being ignored.

E-1560   No Xpress BCL license found. Please contact Xpress Support to obtain a license

No valid BCL license has been found. If you did install a license, check whether you have copied it to the right place and that all environment variables and paths for BCL and the Xpress Optimizer are set correctly.

E-1561   (fct) Initialization failed (value: num).

Xpress Optimizer could not be initialized (error code num).

E-1563   (fct) Inconsistency during matrix generation.

Internal error during the matrix generation.

E-1565   (fct) Internal error.

Internal error during the matrix generation.

E-1566   Name too long: `name'.

A user-defined or BCL composed name exceeds the maximum length. (Remember that BCL adds indices to names if they already exist.)

W-1570   XPRS: text

Refer to the Optimizer Reference Manual for the indicated error.

E-1571   text

The initialization has not found a valid license.

E-1572   (fct) No Xpress Optimizer problem given.

The function fct requires an argument of type XPRSprob.

W-1573   `fct1' without matching `fct2'.

The indicated functions (e.g., XPRBbegincb / XPRBendcb) must always be used as a pair.

E-1575   (fct) Unexpected argument value val.

The value val lies outside the accepted range of values for the indicated function.

W-1580   Unknown output file format format.

Refer to the documentation of function XPRBexportprob for admissible output format options.

E-1582   Internal error writing MPS file.

Please contact Xpress Support.

W-1587   Switch to cut mode.

The cut mode probably needs to be enabled (function XPRBsetcutmode) before this function is called.

E-1591   (fct) Non-quadratic term.

A term of the objective function has a power higher than 2.

W-1592   (fct) Setting limit for variable `name' of wrong type.

Cannot set the integer limit because the given variable is not a partial integer, semi-continuous or semi-continuous integer variable.

W-1593   (fct) Setting limit lim for variable `name' outside bounds (bdl,bdu).

The new integer limit is outside the bounds for the given variable or is negative.

E-1594   (fct) Setting `descr' can only be applied to non-binding (type N) constraints.

Only a non-binding (type XPRB_N) constraint can be set to be an 'Include vars' special constraint.

E-1595   (fct) Incorrect constraint type for include vars constraint `name'.

Include vars constraints must be non-binding constraints (constraints of type XPRB_N).

W-1596   Adding MIP solution failed. Error loading matrix (val).

The specified MIP solution has not been added because the current problem definition could not be loaded into the Optimizer.

E-1597   (fct) No solution given.

Function fct requires a solution of type XPRBsol as an input parameter. Check whether the solution has been created (function XPRBnewsol).

W-1598   (fct) No solution given.

Function fct requires a solution of type XPRBsol as an input parameter. Check whether the solution has been created (function XPRBnewsol).

W-1599   (fct) Removing var name, set to a NaN value, from solution.

Variables cannot be assigned NaN values (not a number) in a solution. Therefore variable name is removed from the solution (if present) to avoid ambiguities with its previously assigned value.


© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.