Struct mosek::Rescode

source ·
#[non_exhaustive]
pub struct Rescode;
Expand description

Response codes

Implementations§

source§

impl Rescode

source

pub const OK: i32 = 0i32

No error occurred.

source

pub const WRN_OPEN_PARAM_FILE: i32 = 50i32

The parameter file could not be opened.

source

pub const WRN_LARGE_BOUND: i32 = 51i32

A numerically large bound value is specified.

source

pub const WRN_LARGE_LO_BOUND: i32 = 52i32

A numerically large lower bound value is specified.

source

pub const WRN_LARGE_UP_BOUND: i32 = 53i32

A numerically large upper bound value is specified.

source

pub const WRN_LARGE_CON_FX: i32 = 54i32

A equality constraint is fixed to numerically large value.

source

pub const WRN_LARGE_CJ: i32 = 57i32

A numerically large value is specified for one element in c.

source

pub const WRN_LARGE_AIJ: i32 = 62i32

A numerically large value is specified for an element in A.

source

pub const WRN_ZERO_AIJ: i32 = 63i32

One or more zero elements are specified in A.

source

pub const WRN_NAME_MAX_LEN: i32 = 65i32

A name is longer than the buffer that is supposed to hold it.

source

pub const WRN_SPAR_MAX_LEN: i32 = 66i32

A value for a string parameter is longer than the buffer that is supposed to hold it.

source

pub const WRN_MPS_SPLIT_RHS_VECTOR: i32 = 70i32

An RHS vector is split into several nonadjacent parts.

source

pub const WRN_MPS_SPLIT_RAN_VECTOR: i32 = 71i32

A RANGE vector is split into several nonadjacent parts in an MPS file.

source

pub const WRN_MPS_SPLIT_BOU_VECTOR: i32 = 72i32

A BOUNDS vector is split into several nonadjacent parts in an MPS file.

source

pub const WRN_LP_OLD_QUAD_FORMAT: i32 = 80i32

Missing ‘/2’ after quadratic expressions in bound or objective.

source

pub const WRN_LP_DROP_VARIABLE: i32 = 85i32

Ignore a variable because the variable was not previously defined.

source

pub const WRN_NZ_IN_UPR_TRI: i32 = 200i32

Non-zero elements specified in the upper triangle of a matrix were ignored.

source

pub const WRN_DROPPED_NZ_QOBJ: i32 = 201i32

One or more non-zero elements were dropped in the Q matrix in the objective.

source

pub const WRN_IGNORE_INTEGER: i32 = 250i32

Ignored integer constraints.

source

pub const WRN_NO_GLOBAL_OPTIMIZER: i32 = 251i32

No global optimizer is available.

source

pub const WRN_MIO_INFEASIBLE_FINAL: i32 = 270i32

The final mixed-integer problem with all the integer variables fixed at their optimal values is infeasible.

source

pub const WRN_SOL_FILTER: i32 = 300i32

Invalid solution filter is specified.

source

pub const WRN_UNDEF_SOL_FILE_NAME: i32 = 350i32

Undefined name occurred in a solution.

source

pub const WRN_SOL_FILE_IGNORED_CON: i32 = 351i32

One or more lines in the constraint section were ignored when reading a solution file.

source

pub const WRN_SOL_FILE_IGNORED_VAR: i32 = 352i32

One or more lines in the variable section were ignored when reading a solution file.

source

pub const WRN_TOO_FEW_BASIS_VARS: i32 = 400i32

An incomplete basis is specified.

source

pub const WRN_TOO_MANY_BASIS_VARS: i32 = 405i32

A basis with too many variables is specified.

source

pub const WRN_LICENSE_EXPIRE: i32 = 500i32

The license expires.

source

pub const WRN_LICENSE_SERVER: i32 = 501i32

The license server is not responding.

source

pub const WRN_EMPTY_NAME: i32 = 502i32

A variable or constraint name is empty. The output file may be invalid.

source

pub const WRN_USING_GENERIC_NAMES: i32 = 503i32

Generic names are used because a name is invalid for requested format.

source

pub const WRN_INVALID_MPS_NAME: i32 = 504i32

A name e.g. a row name is not a valid MPS name.

source

pub const WRN_INVALID_MPS_OBJ_NAME: i32 = 505i32

The objective name is not a valid MPS name.

source

pub const WRN_LICENSE_FEATURE_EXPIRE: i32 = 509i32

The license expires.

source

pub const WRN_PARAM_NAME_DOU: i32 = 510i32

Parameter name not recognized.

source

pub const WRN_PARAM_NAME_INT: i32 = 511i32

Parameter name not recognized.

source

pub const WRN_PARAM_NAME_STR: i32 = 512i32

Parameter name not recognized.

source

pub const WRN_PARAM_STR_VALUE: i32 = 515i32

A parameter value is not correct.

source

pub const WRN_PARAM_IGNORED_CMIO: i32 = 516i32

A parameter was ignored by the conic mixed integer optimizer.

source

pub const WRN_ZEROS_IN_SPARSE_ROW: i32 = 705i32

One or more (near) zero elements are specified in a sparse row of a matrix.

source

pub const WRN_ZEROS_IN_SPARSE_COL: i32 = 710i32

One or more (near) zero elements are specified in a sparse column of a matrix.

source

pub const WRN_INCOMPLETE_LINEAR_DEPENDENCY_CHECK: i32 = 800i32

The linear dependency check(s) is incomplete.

source

pub const WRN_ELIMINATOR_SPACE: i32 = 801i32

The eliminator is skipped at least once due to lack of space.

source

pub const WRN_PRESOLVE_OUTOFSPACE: i32 = 802i32

The presolve is incomplete due to lack of space.

source

pub const WRN_PRESOLVE_PRIMAL_PERTUBATIONS: i32 = 803i32

The presolve perturbed the bounds of the primal problem. This is an indication that the problem is nearly infeasible.

source

pub const WRN_WRITE_CHANGED_NAMES: i32 = 830i32

Some names were changed because they were invalid for the output file format.

source

pub const WRN_WRITE_DISCARDED_CFIX: i32 = 831i32

The fixed objective term was discarded in the output file.

source

pub const WRN_DUPLICATE_CONSTRAINT_NAMES: i32 = 850i32

Two constraint names are identical.

source

pub const WRN_DUPLICATE_VARIABLE_NAMES: i32 = 851i32

Two variable names are identical.

source

pub const WRN_DUPLICATE_BARVARIABLE_NAMES: i32 = 852i32

Two barvariable names are identical.

source

pub const WRN_DUPLICATE_CONE_NAMES: i32 = 853i32

Two cone names are identical.

source

pub const WRN_WRITE_LP_INVALID_VAR_NAMES: i32 = 854i32

LP file will be written with generic variable names.

source

pub const WRN_WRITE_LP_DUPLICATE_VAR_NAMES: i32 = 855i32

LP file will be written with generic variable names.

source

pub const WRN_WRITE_LP_INVALID_CON_NAMES: i32 = 856i32

LP file will be written with generic constraint names.

source

pub const WRN_WRITE_LP_DUPLICATE_CON_NAMES: i32 = 857i32

LP file will be written with generic constraint names.

source

pub const WRN_ANA_LARGE_BOUNDS: i32 = 900i32

Warn against very large bounds.

source

pub const WRN_ANA_C_ZERO: i32 = 901i32

Warn against all objective coefficients being zero.

source

pub const WRN_ANA_EMPTY_COLS: i32 = 902i32

Warn against empty columns.

source

pub const WRN_ANA_CLOSE_BOUNDS: i32 = 903i32

Warn against close bounds.

source

pub const WRN_ANA_ALMOST_INT_BOUNDS: i32 = 904i32

Warn against almost integral bounds.

source

pub const WRN_NO_INFEASIBILITY_REPORT_WHEN_MATRIX_VARIABLES: i32 = 930i32

An infeasibility report is not available when the problem contains matrix variables.

source

pub const WRN_NO_DUALIZER: i32 = 950i32

No automatic dualizer is available for the specified problem.

source

pub const WRN_SYM_MAT_LARGE: i32 = 960i32

A numerically large value is specified for an element in E.

source

pub const WRN_MODIFIED_DOUBLE_PARAMETER: i32 = 970i32

A double parameter related to solver tolerances has a non-default value.

source

pub const WRN_LARGE_FIJ: i32 = 980i32

A numerically large value is specified for an element in F.

source

pub const ERR_LICENSE: i32 = 1_000i32

Invalid license.

source

pub const ERR_LICENSE_EXPIRED: i32 = 1_001i32

The license has expired.

source

pub const ERR_LICENSE_VERSION: i32 = 1_002i32

Invalid license version.

source

pub const ERR_LICENSE_OLD_SERVER_VERSION: i32 = 1_003i32

The license server version is too old.

source

pub const ERR_SIZE_LICENSE: i32 = 1_005i32

The problem is bigger than the license.

source

pub const ERR_PROB_LICENSE: i32 = 1_006i32

The software is not licensed to solve the problem.

source

pub const ERR_FILE_LICENSE: i32 = 1_007i32

Invalid license file.

source

pub const ERR_MISSING_LICENSE_FILE: i32 = 1_008i32

A license cannot be located.

source

pub const ERR_SIZE_LICENSE_CON: i32 = 1_010i32

The problem has too many constraints.

source

pub const ERR_SIZE_LICENSE_VAR: i32 = 1_011i32

The problem has too many variables.

source

pub const ERR_SIZE_LICENSE_INTVAR: i32 = 1_012i32

The problem contains too many integer variables.

source

pub const ERR_OPTIMIZER_LICENSE: i32 = 1_013i32

The optimizer required is not licensed.

source

pub const ERR_FLEXLM: i32 = 1_014i32

The license manager reported an error.

source

pub const ERR_LICENSE_SERVER: i32 = 1_015i32

The license server is not responding.

source

pub const ERR_LICENSE_MAX: i32 = 1_016i32

Maximum number of licenses is reached.

source

pub const ERR_LICENSE_MOSEKLM_DAEMON: i32 = 1_017i32

The MOSEKLM license manager daemon is not up and running.

source

pub const ERR_LICENSE_FEATURE: i32 = 1_018i32

A requested feature is not available in the license file(s).

source

pub const ERR_PLATFORM_NOT_LICENSED: i32 = 1_019i32

A requested license feature is not available for the required platform.

source

pub const ERR_LICENSE_CANNOT_ALLOCATE: i32 = 1_020i32

The license system cannot allocate the memory required.

source

pub const ERR_LICENSE_CANNOT_CONNECT: i32 = 1_021i32

MOSEK cannot connect to the license server.

source

pub const ERR_LICENSE_INVALID_HOSTID: i32 = 1_025i32

The host ID specified in the license file does not match the host ID of the computer.

source

pub const ERR_LICENSE_SERVER_VERSION: i32 = 1_026i32

The version specified in the checkout request is greater than the highest version number the daemon supports.

source

pub const ERR_LICENSE_NO_SERVER_SUPPORT: i32 = 1_027i32

The license server does not support the requested feature.

source

pub const ERR_LICENSE_NO_SERVER_LINE: i32 = 1_028i32

No SERVER lines in license file.

source

pub const ERR_OLDER_DLL: i32 = 1_035i32

The dynamic link library is older than the specified version.

source

pub const ERR_NEWER_DLL: i32 = 1_036i32

The dynamic link library is newer than the specified version.

A file cannot be linked to a stream in the DLL version.

source

pub const ERR_THREAD_MUTEX_INIT: i32 = 1_045i32

Could not initialize a mutex.

source

pub const ERR_THREAD_MUTEX_LOCK: i32 = 1_046i32

Could not lock a mutex.

source

pub const ERR_THREAD_MUTEX_UNLOCK: i32 = 1_047i32

Could not unlock a mutex.

source

pub const ERR_THREAD_CREATE: i32 = 1_048i32

Could not create a thread.

source

pub const ERR_THREAD_COND_INIT: i32 = 1_049i32

Could not initialize a condition.

source

pub const ERR_UNKNOWN: i32 = 1_050i32

Unknown error.

source

pub const ERR_SPACE: i32 = 1_051i32

Out of space.

source

pub const ERR_FILE_OPEN: i32 = 1_052i32

An error occurred while opening a file.

source

pub const ERR_FILE_READ: i32 = 1_053i32

An error occurred while reading file.

source

pub const ERR_FILE_WRITE: i32 = 1_054i32

An error occurred while writing to a file.

source

pub const ERR_DATA_FILE_EXT: i32 = 1_055i32

The data file format cannot be determined from the file name.

source

pub const ERR_INVALID_FILE_NAME: i32 = 1_056i32

An invalid file name has been specified.

source

pub const ERR_INVALID_SOL_FILE_NAME: i32 = 1_057i32

An invalid file name has been specified.

source

pub const ERR_END_OF_FILE: i32 = 1_059i32

End of file reached.

source

pub const ERR_NULL_ENV: i32 = 1_060i32

env is a null pointer.

source

pub const ERR_NULL_TASK: i32 = 1_061i32

task is a null pointer.

source

pub const ERR_INVALID_STREAM: i32 = 1_062i32

An invalid stream is referenced.

source

pub const ERR_NO_INIT_ENV: i32 = 1_063i32

Environment is not initialized.

source

pub const ERR_INVALID_TASK: i32 = 1_064i32

The task is invalid.

source

pub const ERR_NULL_POINTER: i32 = 1_065i32

An argument to a function is unexpectedly a null pointer.

source

pub const ERR_LIVING_TASKS: i32 = 1_066i32

Not all tasks associated with the environment have been deleted.

source

pub const ERR_READ_GZIP: i32 = 1_067i32

Error encountered in GZIP stream.

source

pub const ERR_READ_ZSTD: i32 = 1_068i32

Error encountered in ZSTD stream.

source

pub const ERR_BLANK_NAME: i32 = 1_070i32

An all blank name has been specified.

source

pub const ERR_DUP_NAME: i32 = 1_071i32

Duplicate names specified.

source

pub const ERR_FORMAT_STRING: i32 = 1_072i32

The name format string is invalid.

source

pub const ERR_SPARSITY_SPECIFICATION: i32 = 1_073i32

The sparsity included an index that was out of bounds of the shape.

source

pub const ERR_MISMATCHING_DIMENSION: i32 = 1_074i32

Mismatching dimensions specified in arguments

source

pub const ERR_INVALID_OBJ_NAME: i32 = 1_075i32

An invalid objective name is specified.

source

pub const ERR_INVALID_CON_NAME: i32 = 1_076i32

An invalid constraint name is used.

source

pub const ERR_INVALID_VAR_NAME: i32 = 1_077i32

An invalid variable name is used.

source

pub const ERR_INVALID_CONE_NAME: i32 = 1_078i32

An invalid cone name is used.

source

pub const ERR_INVALID_BARVAR_NAME: i32 = 1_079i32

An invalid symmetric matrix variable name is used.

source

pub const ERR_SPACE_LEAKING: i32 = 1_080i32

MOSEK is leaking memory.

source

pub const ERR_SPACE_NO_INFO: i32 = 1_081i32

No available information about the space usage.

source

pub const ERR_DIMENSION_SPECIFICATION: i32 = 1_082i32

Invalid dimension specification

source

pub const ERR_AXIS_NAME_SPECIFICATION: i32 = 1_083i32

Invalid axis names specification

source

pub const ERR_READ_FORMAT: i32 = 1_090i32

The specified format cannot be read.

source

pub const ERR_MPS_FILE: i32 = 1_100i32

An error occurred while reading an MPS file.

source

pub const ERR_MPS_INV_FIELD: i32 = 1_101i32

Invalid field occurred while reading an MPS file.

source

pub const ERR_MPS_INV_MARKER: i32 = 1_102i32

An invalid marker has been specified in the MPS file.

source

pub const ERR_MPS_NULL_CON_NAME: i32 = 1_103i32

An empty constraint name is used in an MPS file.

source

pub const ERR_MPS_NULL_VAR_NAME: i32 = 1_104i32

An empty variable name is used in an MPS file.

source

pub const ERR_MPS_UNDEF_CON_NAME: i32 = 1_105i32

An undefined constraint name occurred in an MPS file.

source

pub const ERR_MPS_UNDEF_VAR_NAME: i32 = 1_106i32

An undefined variable name occurred in an MPS file.

source

pub const ERR_MPS_INVALID_CON_KEY: i32 = 1_107i32

An invalid constraint key occurred in an MPS file.

source

pub const ERR_MPS_INVALID_BOUND_KEY: i32 = 1_108i32

An invalid bound key occurred in an MPS file.

source

pub const ERR_MPS_INVALID_SEC_NAME: i32 = 1_109i32

An invalid section name occurred in an MPS file.

source

pub const ERR_MPS_NO_OBJECTIVE: i32 = 1_110i32

No objective is defined in an MPS file.

source

pub const ERR_MPS_SPLITTED_VAR: i32 = 1_111i32

The non-zero elements in A corresponding to a variable in an MPS file must be specified consecutively.

source

pub const ERR_MPS_MUL_CON_NAME: i32 = 1_112i32

A constraint name is specified multiple times in the ROWS section in an MPS file.

source

pub const ERR_MPS_MUL_QSEC: i32 = 1_113i32

Multiple QSECTIONs are specified for a constraint.

source

pub const ERR_MPS_MUL_QOBJ: i32 = 1_114i32

The Q term in the objective is specified multiple times.

source

pub const ERR_MPS_INV_SEC_ORDER: i32 = 1_115i32

The sections in an MPS file is not in the correct order.

source

pub const ERR_MPS_MUL_CSEC: i32 = 1_116i32

Multiple CSECTIONs are given the same name.

source

pub const ERR_MPS_CONE_TYPE: i32 = 1_117i32

Invalid cone type specified in a CSECTION.

source

pub const ERR_MPS_CONE_OVERLAP: i32 = 1_118i32

A variable is specified to be a member of several cones.

source

pub const ERR_MPS_CONE_REPEAT: i32 = 1_119i32

A variable is repeated within the CSECTION.

source

pub const ERR_MPS_NON_SYMMETRIC_Q: i32 = 1_120i32

A non symmetric matrix has been speciefied.

source

pub const ERR_MPS_DUPLICATE_Q_ELEMENT: i32 = 1_121i32

Duplicate elements is specified in a Q matrix.

source

pub const ERR_MPS_INVALID_OBJSENSE: i32 = 1_122i32

An invalid objective sense is specified.

source

pub const ERR_MPS_TAB_IN_FIELD2: i32 = 1_125i32

A tab char occurred in field 2.

source

pub const ERR_MPS_TAB_IN_FIELD3: i32 = 1_126i32

A tab char occurred in field 3.

source

pub const ERR_MPS_TAB_IN_FIELD5: i32 = 1_127i32

A tab char occurred in field 5.

source

pub const ERR_MPS_INVALID_OBJ_NAME: i32 = 1_128i32

An invalid objective name is specified.

source

pub const ERR_MPS_INVALID_KEY: i32 = 1_129i32

An invalid indicator key occurred in an MPS file.

source

pub const ERR_MPS_INVALID_INDICATOR_CONSTRAINT: i32 = 1_130i32

An invalid indicator constraint is used. It must not be a ranged constraint.

source

pub const ERR_MPS_INVALID_INDICATOR_VARIABLE: i32 = 1_131i32

An invalid indicator variable is specfied. It must be a binary variable.

source

pub const ERR_MPS_INVALID_INDICATOR_VALUE: i32 = 1_132i32

An invalid indicator value is specfied. It must be either 0 or 1.

source

pub const ERR_MPS_INVALID_INDICATOR_QUADRATIC_CONSTRAINT: i32 = 1_133i32

A quadratic constraint can be be an indicator constraint.

source

pub const ERR_OPF_SYNTAX: i32 = 1_134i32

Syntax error in an OPF file

source

pub const ERR_OPF_PREMATURE_EOF: i32 = 1_136i32

Premature end of file in an OPF file.

source

pub const ERR_OPF_MISMATCHED_TAG: i32 = 1_137i32

Mismatched end-tag in OPF file

source

pub const ERR_OPF_DUPLICATE_BOUND: i32 = 1_138i32

Either upper or lower bound was specified twice in OPF file

source

pub const ERR_OPF_DUPLICATE_CONSTRAINT_NAME: i32 = 1_139i32

Duplicate constraint name in OPF File

source

pub const ERR_OPF_INVALID_CONE_TYPE: i32 = 1_140i32

Invalid cone type in OPF File

source

pub const ERR_OPF_INCORRECT_TAG_PARAM: i32 = 1_141i32

Invalid number of parameters in start-tag in OPF File

source

pub const ERR_OPF_INVALID_TAG: i32 = 1_142i32

Invalid start-tag in OPF File

source

pub const ERR_OPF_DUPLICATE_CONE_ENTRY: i32 = 1_143i32

Same variable appears in multiple cones in OPF File

source

pub const ERR_OPF_TOO_LARGE: i32 = 1_144i32

The problem is too large to be correctly loaded

source

pub const ERR_OPF_DUAL_INTEGER_SOLUTION: i32 = 1_146i32

Dual solution values are not allowed in OPF File

source

pub const ERR_LP_EMPTY: i32 = 1_151i32

The problem cannot be written to an LP formatted file.

source

pub const ERR_WRITE_MPS_INVALID_NAME: i32 = 1_153i32

An invalid name is created while writing an MPS file.

source

pub const ERR_LP_INVALID_VAR_NAME: i32 = 1_154i32

A variable name is invalid when used in an LP formatted file.

source

pub const ERR_WRITE_OPF_INVALID_VAR_NAME: i32 = 1_156i32

Empty variable names cannot be written to OPF files.

source

pub const ERR_LP_FILE_FORMAT: i32 = 1_157i32

Syntax error in an LP file.

source

pub const ERR_LP_EXPECTED_NUMBER: i32 = 1_158i32

Expected a number in LP file

source

pub const ERR_READ_LP_MISSING_END_TAG: i32 = 1_159i32

Syntax error in LP fil. Possibly missing End tag.

source

pub const ERR_LP_INDICATOR_VAR: i32 = 1_160i32

An indicator variable was not declared binary

source

pub const ERR_LP_EXPECTED_OBJECTIVE: i32 = 1_161i32

Expected an objective section in LP file

source

pub const ERR_LP_EXPECTED_CONSTRAINT_RELATION: i32 = 1_162i32

Expected constraint relation

source

pub const ERR_LP_AMBIGUOUS_CONSTRAINT_BOUND: i32 = 1_163i32

Constraint has ambiguous or invalid bound

source

pub const ERR_LP_DUPLICATE_SECTION: i32 = 1_164i32

Duplicate section

source

pub const ERR_READ_LP_DELAYED_ROWS_NOT_SUPPORTED: i32 = 1_165i32

Duplicate section

source

pub const ERR_WRITING_FILE: i32 = 1_166i32

An error occurred while writing file

source

pub const ERR_INVALID_NAME_IN_SOL_FILE: i32 = 1_170i32

An invalid name occurred in a solution file.

source

pub const ERR_JSON_SYNTAX: i32 = 1_175i32

Syntax error in an JSON data

source

pub const ERR_JSON_STRING: i32 = 1_176i32

Error in JSON string.

source

pub const ERR_JSON_NUMBER_OVERFLOW: i32 = 1_177i32

Invalid number entry - wrong type or value overflow.

source

pub const ERR_JSON_FORMAT: i32 = 1_178i32

Error in an JSON Task file

source

pub const ERR_JSON_DATA: i32 = 1_179i32

Inconsistent data in JSON Task file

source

pub const ERR_JSON_MISSING_DATA: i32 = 1_180i32

Missing data section in JSON task file.

source

pub const ERR_PTF_INCOMPATIBILITY: i32 = 1_181i32

Incompatible item

source

pub const ERR_PTF_UNDEFINED_ITEM: i32 = 1_182i32

Undefined symbol referenced

source

pub const ERR_PTF_INCONSISTENCY: i32 = 1_183i32

Inconsistent size of item

source

pub const ERR_PTF_FORMAT: i32 = 1_184i32

Syntax error in an PTF file

source

pub const ERR_ARGUMENT_LENNEQ: i32 = 1_197i32

Incorrect length of arguments.

source

pub const ERR_ARGUMENT_TYPE: i32 = 1_198i32

Incorrect argument type.

source

pub const ERR_NUM_ARGUMENTS: i32 = 1_199i32

Incorrect number of function arguments.

source

pub const ERR_IN_ARGUMENT: i32 = 1_200i32

A function argument is incorrect.

source

pub const ERR_ARGUMENT_DIMENSION: i32 = 1_201i32

A function argument is of incorrect dimension.

source

pub const ERR_SHAPE_IS_TOO_LARGE: i32 = 1_202i32

The size of the n-dimensional shape is too large.

source

pub const ERR_INDEX_IS_TOO_SMALL: i32 = 1_203i32

An index in an argument is too small.

source

pub const ERR_INDEX_IS_TOO_LARGE: i32 = 1_204i32

An index in an argument is too large.

source

pub const ERR_INDEX_IS_NOT_UNIQUE: i32 = 1_205i32

An index in an argument is is unique.

source

pub const ERR_PARAM_NAME: i32 = 1_206i32

A parameter name is not correct.

source

pub const ERR_PARAM_NAME_DOU: i32 = 1_207i32

A parameter name is not correct.

source

pub const ERR_PARAM_NAME_INT: i32 = 1_208i32

A parameter name is not correct.

source

pub const ERR_PARAM_NAME_STR: i32 = 1_209i32

A parameter name is not correct.

source

pub const ERR_PARAM_INDEX: i32 = 1_210i32

Parameter index is out of range.

source

pub const ERR_PARAM_IS_TOO_LARGE: i32 = 1_215i32

A parameter value is too large.

source

pub const ERR_PARAM_IS_TOO_SMALL: i32 = 1_216i32

A parameter value is too small.

source

pub const ERR_PARAM_VALUE_STR: i32 = 1_217i32

A parameter value string is incorrect.

source

pub const ERR_PARAM_TYPE: i32 = 1_218i32

A parameter type is invalid.

source

pub const ERR_INF_DOU_INDEX: i32 = 1_219i32

A double information index is out of range for the specified type.

source

pub const ERR_INF_INT_INDEX: i32 = 1_220i32

An integer information index is out of range for the specified type.

source

pub const ERR_INDEX_ARR_IS_TOO_SMALL: i32 = 1_221i32

An index in an array argument is too small.

source

pub const ERR_INDEX_ARR_IS_TOO_LARGE: i32 = 1_222i32

An index in an array argument is too large.

source

pub const ERR_INF_LINT_INDEX: i32 = 1_225i32

A long integer information index is out of range for the specified type.

source

pub const ERR_ARG_IS_TOO_SMALL: i32 = 1_226i32

The value of a argument is too small.

source

pub const ERR_ARG_IS_TOO_LARGE: i32 = 1_227i32

The value of a argument is too large.

source

pub const ERR_INVALID_WHICHSOL: i32 = 1_228i32

whichsol is invalid.

source

pub const ERR_INF_DOU_NAME: i32 = 1_230i32

A double information name is invalid.

source

pub const ERR_INF_INT_NAME: i32 = 1_231i32

An integer information name is invalid.

source

pub const ERR_INF_TYPE: i32 = 1_232i32

The information type is invalid.

source

pub const ERR_INF_LINT_NAME: i32 = 1_234i32

A long integer information name is invalid.

source

pub const ERR_INDEX: i32 = 1_235i32

An index is out of range.

source

pub const ERR_WHICHSOL: i32 = 1_236i32

The solution defined by whichsol does not exists.

source

pub const ERR_SOLITEM: i32 = 1_237i32

The solution number solemn does not exists.

source

pub const ERR_WHICHITEM_NOT_ALLOWED: i32 = 1_238i32

whichitem is unacceptable.

source

pub const ERR_MAXNUMCON: i32 = 1_240i32

Invalid maximum number of constraints specified.

source

pub const ERR_MAXNUMVAR: i32 = 1_241i32

The maximum number of variables limit is too small.

source

pub const ERR_MAXNUMBARVAR: i32 = 1_242i32

The maximum number of semidefinite variables limit is too small.

source

pub const ERR_MAXNUMQNZ: i32 = 1_243i32

Too small maximum number of non-zeros for the Q matrices is specified.

source

pub const ERR_TOO_SMALL_MAX_NUM_NZ: i32 = 1_245i32

The maximum number of non-zeros specified is too small.

source

pub const ERR_INVALID_IDX: i32 = 1_246i32

A specified index is invalid.

source

pub const ERR_INVALID_MAX_NUM: i32 = 1_247i32

A specified index is invalid.

source

pub const ERR_UNALLOWED_WHICHSOL: i32 = 1_248i32

The value of whichsol is not allowed.

source

pub const ERR_NUMCONLIM: i32 = 1_250i32

Maximum number of constraints limit is exceeded.

source

pub const ERR_NUMVARLIM: i32 = 1_251i32

Maximum number of variables limit is exceeded.

source

pub const ERR_TOO_SMALL_MAXNUMANZ: i32 = 1_252i32

Too small maximum number of non-zeros in A specified.

source

pub const ERR_INV_APTRE: i32 = 1_253i32

aptre[j] is strictly smaller than aptrb[j] for some j.

source

pub const ERR_MUL_A_ELEMENT: i32 = 1_254i32

An element in A is defined multiple times.

source

pub const ERR_INV_BK: i32 = 1_255i32

Invalid bound key.

source

pub const ERR_INV_BKC: i32 = 1_256i32

Invalid bound key is specified for a constraint.

source

pub const ERR_INV_BKX: i32 = 1_257i32

An invalid bound key is specified for a variable.

source

pub const ERR_INV_VAR_TYPE: i32 = 1_258i32

An invalid variable type is specified for a variable.

source

pub const ERR_SOLVER_PROBTYPE: i32 = 1_259i32

Problem type does not match the chosen optimizer.

source

pub const ERR_OBJECTIVE_RANGE: i32 = 1_260i32

Empty objective range.

source

pub const ERR_INV_RESCODE: i32 = 1_261i32

Invalid response code.

source

pub const ERR_INV_IINF: i32 = 1_262i32

Invalid integer information item.

source

pub const ERR_INV_LIINF: i32 = 1_263i32

Invalid long integer information item.

source

pub const ERR_INV_DINF: i32 = 1_264i32

Invalid double information item.

source

pub const ERR_BASIS: i32 = 1_266i32

Invalid basis is specified.

source

pub const ERR_INV_SKC: i32 = 1_267i32

Invalid value in skc encountered.

source

pub const ERR_INV_SKX: i32 = 1_268i32

Invalid value in skx encountered.

source

pub const ERR_INV_SK_STR: i32 = 1_269i32

Invalid status key string encountered.

source

pub const ERR_INV_SK: i32 = 1_270i32

Invalid status key code encountered.

source

pub const ERR_INV_CONE_TYPE_STR: i32 = 1_271i32

Invalid cone type string encountered.

source

pub const ERR_INV_CONE_TYPE: i32 = 1_272i32

Invalid cone type code encountered.

source

pub const ERR_INV_SKN: i32 = 1_274i32

Invalid value in skn encountered.

source

pub const ERR_INVALID_SURPLUS: i32 = 1_275i32

Invalid surplus.

source

pub const ERR_INV_NAME_ITEM: i32 = 1_280i32

An invalid name item code is used.

source

pub const ERR_PRO_ITEM: i32 = 1_281i32

An invalid problem item is used.

source

pub const ERR_INVALID_FORMAT_TYPE: i32 = 1_283i32

Invalid format type.

source

pub const ERR_FIRSTI: i32 = 1_285i32

Invalid firsti.

source

pub const ERR_LASTI: i32 = 1_286i32

Invalid lasti.

source

pub const ERR_FIRSTJ: i32 = 1_287i32

Invalid firstj.

source

pub const ERR_LASTJ: i32 = 1_288i32

Invalid lastj.

source

pub const ERR_MAX_LEN_IS_TOO_SMALL: i32 = 1_289i32

A maximum length that is too small has been specified.

source

pub const ERR_NONLINEAR_EQUALITY: i32 = 1_290i32

The model contains a nonlinear equality.

source

pub const ERR_NONCONVEX: i32 = 1_291i32

The optimization problem is nonconvex.

source

pub const ERR_NONLINEAR_RANGED: i32 = 1_292i32

The problem contains a nonlinear constraint with inite lower and upper bound.

source

pub const ERR_CON_Q_NOT_PSD: i32 = 1_293i32

The quadratic constraint matrix is not PSD.

source

pub const ERR_CON_Q_NOT_NSD: i32 = 1_294i32

The quadratic constraint matrix is not NSD.

source

pub const ERR_OBJ_Q_NOT_PSD: i32 = 1_295i32

The quadratic coefficient matrix in the objective is not PSD.

source

pub const ERR_OBJ_Q_NOT_NSD: i32 = 1_296i32

The quadratic coefficient matrix in the objective is not NSD.

source

pub const ERR_ARGUMENT_PERM_ARRAY: i32 = 1_299i32

An invalid permutation array is specified.

source

pub const ERR_CONE_INDEX: i32 = 1_300i32

An index of a non-existing cone has been specified.

source

pub const ERR_CONE_SIZE: i32 = 1_301i32

A cone with incorrect number of members is specified.

source

pub const ERR_CONE_OVERLAP: i32 = 1_302i32

One or more of variables in the cone to be added is already member of another cone.

source

pub const ERR_CONE_REP_VAR: i32 = 1_303i32

A variable is included multiple times in the cone.

source

pub const ERR_MAXNUMCONE: i32 = 1_304i32

The value specified for maxnumcone is too small.

source

pub const ERR_CONE_TYPE: i32 = 1_305i32

Invalid cone type specified.

source

pub const ERR_CONE_TYPE_STR: i32 = 1_306i32

Invalid cone type specified.

source

pub const ERR_CONE_OVERLAP_APPEND: i32 = 1_307i32

The cone to be appended has one variable which is already member of another cone.

source

pub const ERR_REMOVE_CONE_VARIABLE: i32 = 1_310i32

A variable cannot be removed because it will make a cone invalid.

source

pub const ERR_APPENDING_TOO_BIG_CONE: i32 = 1_311i32

Trying to append a too big cone.

source

pub const ERR_CONE_PARAMETER: i32 = 1_320i32

An invalid cone parameter.

source

pub const ERR_SOL_FILE_INVALID_NUMBER: i32 = 1_350i32

An invalid number is specified in a solution file.

source

pub const ERR_HUGE_C: i32 = 1_375i32

A huge value in absolute size is specified for an objective coefficient.

source

pub const ERR_HUGE_AIJ: i32 = 1_380i32

A numerically huge value is specified for an element in A.

source

pub const ERR_DUPLICATE_AIJ: i32 = 1_385i32

An element in the A matrix is specified twice.

source

pub const ERR_LOWER_BOUND_IS_A_NAN: i32 = 1_390i32

The lower bound specified is not a number (nan).

source

pub const ERR_UPPER_BOUND_IS_A_NAN: i32 = 1_391i32

The upper bound specified is not a number (nan).

source

pub const ERR_INFINITE_BOUND: i32 = 1_400i32

A numerically huge bound value is specified.

source

pub const ERR_INV_QOBJ_SUBI: i32 = 1_401i32

Invalid value %d at qosubi.

source

pub const ERR_INV_QOBJ_SUBJ: i32 = 1_402i32

Invalid value in qosubj.

source

pub const ERR_INV_QOBJ_VAL: i32 = 1_403i32

Invalid value in qoval.

source

pub const ERR_INV_QCON_SUBK: i32 = 1_404i32

Invalid value in qcsubk.

source

pub const ERR_INV_QCON_SUBI: i32 = 1_405i32

Invalid value in qcsubi.

source

pub const ERR_INV_QCON_SUBJ: i32 = 1_406i32

Invalid value in qcsubj.

source

pub const ERR_INV_QCON_VAL: i32 = 1_407i32

Invalid value in qcval.

source

pub const ERR_QCON_SUBI_TOO_SMALL: i32 = 1_408i32

Invalid value in qcsubi.

source

pub const ERR_QCON_SUBI_TOO_LARGE: i32 = 1_409i32

Invalid value in qcsubi.

source

pub const ERR_QOBJ_UPPER_TRIANGLE: i32 = 1_415i32

An element in the upper triangle of the quadratic term in the objective is specified.

source

pub const ERR_QCON_UPPER_TRIANGLE: i32 = 1_417i32

An element in the upper triangle of the quadratic term in a constraint.

source

pub const ERR_FIXED_BOUND_VALUES: i32 = 1_420i32

A fixed constraint/variable has been specified using the bound keys but the numerical bounds are different.

source

pub const ERR_TOO_SMALL_A_TRUNCATION_VALUE: i32 = 1_421i32

A too small value for the A trucation value is specified.

source

pub const ERR_INVALID_OBJECTIVE_SENSE: i32 = 1_445i32

An invalid objective sense is specified.

source

pub const ERR_UNDEFINED_OBJECTIVE_SENSE: i32 = 1_446i32

The objective sense has not been specified before the optimization.

source

pub const ERR_Y_IS_UNDEFINED: i32 = 1_449i32

The solution item y is undefined.

source

pub const ERR_NAN_IN_DOUBLE_DATA: i32 = 1_450i32

An invalid floating value was used in some double data.

source

pub const ERR_INF_IN_DOUBLE_DATA: i32 = 1_451i32

An infinite floating value was used in some double data.

source

pub const ERR_NAN_IN_BLC: i32 = 1_461i32

blc contains an invalid floating point value, i.e. a NaN.

source

pub const ERR_NAN_IN_BUC: i32 = 1_462i32

buc contains an invalid floating point value, i.e. a NaN.

source

pub const ERR_INVALID_CFIX: i32 = 1_469i32

An invalid fixed term in the objective is speficied.

source

pub const ERR_NAN_IN_C: i32 = 1_470i32

c contains an invalid floating point value, i.e. a NaN.

source

pub const ERR_NAN_IN_BLX: i32 = 1_471i32

blx contains an invalid floating point value, i.e. a NaN.

source

pub const ERR_NAN_IN_BUX: i32 = 1_472i32

bux contains an invalid floating point value, i.e. a NaN.

source

pub const ERR_INVALID_AIJ: i32 = 1_473i32

a[i,j] contains an invalid floating point value, i.e. a NaN or an infinite value.

source

pub const ERR_INVALID_CJ: i32 = 1_474i32

c[j] contains an invalid floating point value, i.e. a NaN or an infinite value.

source

pub const ERR_SYM_MAT_INVALID: i32 = 1_480i32

A symmetric matrix contains an invalid floating point value, i.e. a NaN or an infinite value.

source

pub const ERR_SYM_MAT_HUGE: i32 = 1_482i32

A numerically huge value is specified for an element in E.

source

pub const ERR_INV_PROBLEM: i32 = 1_500i32

Invalid problem type.

source

pub const ERR_MIXED_CONIC_AND_NL: i32 = 1_501i32

The problem contains both conic and nonlinear constraints.

source

pub const ERR_GLOBAL_INV_CONIC_PROBLEM: i32 = 1_503i32

The global optimizer can only be applied to problems without semidefinite variables.

source

pub const ERR_INV_OPTIMIZER: i32 = 1_550i32

An invalid optimizer has been chosen for the problem.

source

pub const ERR_MIO_NO_OPTIMIZER: i32 = 1_551i32

No optimizer is available for the current class of integer optimization problems.

source

pub const ERR_NO_OPTIMIZER_VAR_TYPE: i32 = 1_552i32

No optimizer is available for this class of optimization problems.

source

pub const ERR_FINAL_SOLUTION: i32 = 1_560i32

An error occurred during the solution finalization.

source

pub const ERR_FIRST: i32 = 1_570i32

Invalid first.

source

pub const ERR_LAST: i32 = 1_571i32

Invalid last.

source

pub const ERR_SLICE_SIZE: i32 = 1_572i32

Invalid slice size specified.

source

pub const ERR_NEGATIVE_SURPLUS: i32 = 1_573i32

Negative surplus.

source

pub const ERR_NEGATIVE_APPEND: i32 = 1_578i32

Cannot append a negative number.

source

pub const ERR_POSTSOLVE: i32 = 1_580i32

An error occurred during the postsolve.

source

pub const ERR_OVERFLOW: i32 = 1_590i32

A computation produced an overflow.

source

pub const ERR_NO_BASIS_SOL: i32 = 1_600i32

No basic solution is defined.

source

pub const ERR_BASIS_FACTOR: i32 = 1_610i32

The factorization of the basis is invalid.

source

pub const ERR_BASIS_SINGULAR: i32 = 1_615i32

The basis is singular.

source

pub const ERR_FACTOR: i32 = 1_650i32

An error occurred while factorizing a matrix.

source

pub const ERR_FEASREPAIR_CANNOT_RELAX: i32 = 1_700i32

An optimization problem cannot be relaxed.

source

pub const ERR_FEASREPAIR_SOLVING_RELAXED: i32 = 1_701i32

The relaxed problem could not be solved to optimality.

source

pub const ERR_FEASREPAIR_INCONSISTENT_BOUND: i32 = 1_702i32

The upper bound is less than the lower bound for a variable or a constraint.

source

pub const ERR_REPAIR_INVALID_PROBLEM: i32 = 1_710i32

The feasibility repair does not support the specified problem type.

source

pub const ERR_REPAIR_OPTIMIZATION_FAILED: i32 = 1_711i32

Computation the optimal relaxation failed.

source

pub const ERR_NAME_MAX_LEN: i32 = 1_750i32

A name is longer than the buffer that is supposed to hold it.

source

pub const ERR_NAME_IS_NULL: i32 = 1_760i32

The name buffer is a null pointer.

source

pub const ERR_INVALID_COMPRESSION: i32 = 1_800i32

Invalid compression type.

source

pub const ERR_INVALID_IOMODE: i32 = 1_801i32

Invalid io mode.

source

pub const ERR_NO_PRIMAL_INFEAS_CER: i32 = 2_000i32

A certificate of primal infeasibility is not available.

source

pub const ERR_NO_DUAL_INFEAS_CER: i32 = 2_001i32

A certificate of dual infeasibility is not available.

source

pub const ERR_NO_SOLUTION_IN_CALLBACK: i32 = 2_500i32

The required solution is not available.

source

pub const ERR_INV_MARKI: i32 = 2_501i32

Invalid value in marki.

source

pub const ERR_INV_MARKJ: i32 = 2_502i32

Invalid value in markj.

source

pub const ERR_INV_NUMI: i32 = 2_503i32

Invalid numi.

source

pub const ERR_INV_NUMJ: i32 = 2_504i32

Invalid numj.

source

pub const ERR_TASK_INCOMPATIBLE: i32 = 2_560i32

The Task file is incompatible with this platform.

source

pub const ERR_TASK_INVALID: i32 = 2_561i32

The Task file is invalid.

source

pub const ERR_TASK_WRITE: i32 = 2_562i32

Failed to write the task file.

source

pub const ERR_LU_MAX_NUM_TRIES: i32 = 2_800i32

Could not compute the LU factors of the matrix within the maximum number of allowed tries.

source

pub const ERR_INVALID_UTF8: i32 = 2_900i32

An invalid UTF8 string is encountered.

source

pub const ERR_INVALID_WCHAR: i32 = 2_901i32

An invalid wchar string is encountered.

source

pub const ERR_NO_DUAL_FOR_ITG_SOL: i32 = 2_950i32

No dual information is available for the integer solution.

source

pub const ERR_NO_SNX_FOR_BAS_SOL: i32 = 2_953i32

snx is not available for the basis solution.

source

pub const ERR_INTERNAL: i32 = 3_000i32

An internal error occurred.

source

pub const ERR_API_ARRAY_TOO_SMALL: i32 = 3_001i32

An input array was too short.

source

pub const ERR_API_CB_CONNECT: i32 = 3_002i32

Failed to connect a callback object.

source

pub const ERR_API_FATAL_ERROR: i32 = 3_005i32

An internal error occurred in the API. Please report this problem.

source

pub const ERR_SEN_FORMAT: i32 = 3_050i32

Syntax error in sensitivity analysis file.

source

pub const ERR_SEN_UNDEF_NAME: i32 = 3_051i32

An undefined name was encountered in the sensitivity analysis file.

source

pub const ERR_SEN_INDEX_RANGE: i32 = 3_052i32

Index out of range in the sensitivity analysis file.

source

pub const ERR_SEN_BOUND_INVALID_UP: i32 = 3_053i32

Analysis of upper bound requested for an index, where no upper bound exists.

source

pub const ERR_SEN_BOUND_INVALID_LO: i32 = 3_054i32

Analysis of lower bound requested for an index, where no lower bound exists.

source

pub const ERR_SEN_INDEX_INVALID: i32 = 3_055i32

Invalid range given in the sensitivity file.

source

pub const ERR_SEN_INVALID_REGEXP: i32 = 3_056i32

Syntax error in regexp or regexp longer than 1024.

source

pub const ERR_SEN_SOLUTION_STATUS: i32 = 3_057i32

No optimal solution found to the original problem given for sensitivity analysis.

source

pub const ERR_SEN_NUMERICAL: i32 = 3_058i32

Numerical difficulties encountered performing the sensitivity analysis.

source

pub const ERR_SEN_UNHANDLED_PROBLEM_TYPE: i32 = 3_080i32

Sensitivity analysis cannot be performed for the specified problem.

source

pub const ERR_UNB_STEP_SIZE: i32 = 3_100i32

A step-size in an optimizer was unexpectedly unbounded.

source

pub const ERR_IDENTICAL_TASKS: i32 = 3_101i32

Some tasks related to this function call were identical. Unique tasks were expected.

source

pub const ERR_AD_INVALID_CODELIST: i32 = 3_102i32

The code list data was invalid.

source

pub const ERR_INTERNAL_TEST_FAILED: i32 = 3_500i32

An internal unit test function failed.

source

pub const ERR_XML_INVALID_PROBLEM_TYPE: i32 = 3_600i32

The problem type is not supported by the XML format.

source

pub const ERR_INVALID_AMPL_STUB: i32 = 3_700i32

Invalid AMPL stub.

source

pub const ERR_INT64_TO_INT32_CAST: i32 = 3_800i32

A 64 bit integer could not be cast to a 32 bit integer.

source

pub const ERR_SIZE_LICENSE_NUMCORES: i32 = 3_900i32

The computer contains more cpu cores than the license allows for.

source

pub const ERR_INFEAS_UNDEFINED: i32 = 3_910i32

The requested value is not defined for this solution type.

source

pub const ERR_NO_BARX_FOR_SOLUTION: i32 = 3_915i32

There is no barx available for the solution specified.

source

pub const ERR_NO_BARS_FOR_SOLUTION: i32 = 3_916i32

There is no bars available for the solution specified.

source

pub const ERR_BAR_VAR_DIM: i32 = 3_920i32

The dimension of a symmetric matrix variable has to be greater than 0.

source

pub const ERR_SYM_MAT_INVALID_ROW_INDEX: i32 = 3_940i32

A row index specified for sparse symmetric matrix is invalid.

source

pub const ERR_SYM_MAT_INVALID_COL_INDEX: i32 = 3_941i32

A column index specified for sparse symmetric matrix is invalid.

source

pub const ERR_SYM_MAT_NOT_LOWER_TRINGULAR: i32 = 3_942i32

Only the lower triangular part of sparse symmetric matrix should be specified.

source

pub const ERR_SYM_MAT_INVALID_VALUE: i32 = 3_943i32

The numerical value specified in a sparse symmetric matrix is not a floating point value.

source

pub const ERR_SYM_MAT_DUPLICATE: i32 = 3_944i32

A value in a symmetric matric as been specified more than once.

source

pub const ERR_INVALID_SYM_MAT_DIM: i32 = 3_950i32

A sparse symmetric matrix of invalid dimension is specified.

source

pub const ERR_API_INTERNAL: i32 = 3_999i32

An internal fatal error occurred in an interface function.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_SYM_MAT: i32 = 4_000i32

The file format does not support a problem with symmetric matrix variables.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_CFIX: i32 = 4_001i32

The file format does not support a problem with nonzero fixed term in c.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_RANGED_CONSTRAINTS: i32 = 4_002i32

The file format does not support a problem with ranged constraints.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_FREE_CONSTRAINTS: i32 = 4_003i32

The file format does not support a problem with free constraints.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_CONES: i32 = 4_005i32

The file format does not support a problem with the simple cones (deprecated).

source

pub const ERR_INVALID_FILE_FORMAT_FOR_QUADRATIC_TERMS: i32 = 4_006i32

The file format does not support a problem with quadratic terms.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_NONLINEAR: i32 = 4_010i32

The file format does not support a problem with nonlinear terms.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_DISJUNCTIVE_CONSTRAINTS: i32 = 4_011i32

The file format does not support a problem with disjunctive constraints.

source

pub const ERR_INVALID_FILE_FORMAT_FOR_AFFINE_CONIC_CONSTRAINTS: i32 = 4_012i32

The file format does not support a problem with affine conic constraints.

source

pub const ERR_DUPLICATE_CONSTRAINT_NAMES: i32 = 4_500i32

Two constraint names are identical.

source

pub const ERR_DUPLICATE_VARIABLE_NAMES: i32 = 4_501i32

Two variable names are identical.

source

pub const ERR_DUPLICATE_BARVARIABLE_NAMES: i32 = 4_502i32

Two barvariable names are identical.

source

pub const ERR_DUPLICATE_CONE_NAMES: i32 = 4_503i32

Two cone names are identical.

source

pub const ERR_DUPLICATE_DOMAIN_NAMES: i32 = 4_504i32

Two domain names are identical.

source

pub const ERR_DUPLICATE_DJC_NAMES: i32 = 4_505i32

Two disjunctive constraint names are identical.

source

pub const ERR_NON_UNIQUE_ARRAY: i32 = 5_000i32

An array does not contain unique elements.

source

pub const ERR_ARGUMENT_IS_TOO_SMALL: i32 = 5_004i32

The value of a function argument is too small.

source

pub const ERR_ARGUMENT_IS_TOO_LARGE: i32 = 5_005i32

The value of a function argument is too large.

source

pub const ERR_MIO_INTERNAL: i32 = 5_010i32

A fatal error occurred in the mixed integer optimizer. Please contact MOSEK support.

source

pub const ERR_INVALID_PROBLEM_TYPE: i32 = 6_000i32

An invalid problem type.

source

pub const ERR_UNHANDLED_SOLUTION_STATUS: i32 = 6_010i32

Unhandled solution status.

source

pub const ERR_UPPER_TRIANGLE: i32 = 6_020i32

An element in the upper triangle of a lower triangular matrix is specified.

source

pub const ERR_LAU_SINGULAR_MATRIX: i32 = 7_000i32

A matrix is singular.

source

pub const ERR_LAU_NOT_POSITIVE_DEFINITE: i32 = 7_001i32

A matrix is not positive definite.

source

pub const ERR_LAU_INVALID_LOWER_TRIANGULAR_MATRIX: i32 = 7_002i32

An invalid lower triangular matrix.

source

pub const ERR_LAU_UNKNOWN: i32 = 7_005i32

An unknown error.

source

pub const ERR_LAU_ARG_M: i32 = 7_010i32

Invalid argument m.

source

pub const ERR_LAU_ARG_N: i32 = 7_011i32

Invalid argument n.

source

pub const ERR_LAU_ARG_K: i32 = 7_012i32

Invalid argument k.

source

pub const ERR_LAU_ARG_TRANSA: i32 = 7_015i32

Invalid argument transa.

source

pub const ERR_LAU_ARG_TRANSB: i32 = 7_016i32

Invalid argument transb.

source

pub const ERR_LAU_ARG_UPLO: i32 = 7_017i32

Invalid argument uplo.

source

pub const ERR_LAU_ARG_TRANS: i32 = 7_018i32

Invalid argument trans.

source

pub const ERR_LAU_INVALID_SPARSE_SYMMETRIC_MATRIX: i32 = 7_019i32

An invalid sparse symmetric matrix is specfified.

source

pub const ERR_CBF_PARSE: i32 = 7_100i32

An error occurred while parsing an CBF file.

source

pub const ERR_CBF_OBJ_SENSE: i32 = 7_101i32

An invalid objective sense is specified.

source

pub const ERR_CBF_NO_VARIABLES: i32 = 7_102i32

An invalid objective sense is specified.

source

pub const ERR_CBF_TOO_MANY_CONSTRAINTS: i32 = 7_103i32

Too many constraints specified.

source

pub const ERR_CBF_TOO_MANY_VARIABLES: i32 = 7_104i32

Too many variables specified.

source

pub const ERR_CBF_NO_VERSION_SPECIFIED: i32 = 7_105i32

No version specified.

source

pub const ERR_CBF_SYNTAX: i32 = 7_106i32

Invalid syntax.

source

pub const ERR_CBF_DUPLICATE_OBJ: i32 = 7_107i32

Duplicate OBJ keyword.

source

pub const ERR_CBF_DUPLICATE_CON: i32 = 7_108i32

Duplicate CON keyword.

source

pub const ERR_CBF_DUPLICATE_VAR: i32 = 7_110i32

Duplicate VAR keyword.

source

pub const ERR_CBF_DUPLICATE_INT: i32 = 7_111i32

Duplicate INT keyword.

source

pub const ERR_CBF_INVALID_VAR_TYPE: i32 = 7_112i32

Invalid variable type.

source

pub const ERR_CBF_INVALID_CON_TYPE: i32 = 7_113i32

Invalid constraint type.

source

pub const ERR_CBF_INVALID_DOMAIN_DIMENSION: i32 = 7_114i32

Invalid domain dimension.

source

pub const ERR_CBF_DUPLICATE_OBJACOORD: i32 = 7_115i32

Duplicate index in OBJCOORD.

source

pub const ERR_CBF_DUPLICATE_BCOORD: i32 = 7_116i32

Duplicate index in BCOORD.

source

pub const ERR_CBF_DUPLICATE_ACOORD: i32 = 7_117i32

Duplicate index in ACOORD.

source

pub const ERR_CBF_TOO_FEW_VARIABLES: i32 = 7_118i32

Too few variables defined.

source

pub const ERR_CBF_TOO_FEW_CONSTRAINTS: i32 = 7_119i32

Too few constraints defined.

source

pub const ERR_CBF_TOO_FEW_INTS: i32 = 7_120i32

Too ints specified.

source

pub const ERR_CBF_TOO_MANY_INTS: i32 = 7_121i32

Too ints specified.

source

pub const ERR_CBF_INVALID_INT_INDEX: i32 = 7_122i32

Invalid INT index.

source

pub const ERR_CBF_UNSUPPORTED: i32 = 7_123i32

Unsupported feature is present.

source

pub const ERR_CBF_DUPLICATE_PSDVAR: i32 = 7_124i32

Duplicate PSDVAR keyword.

source

pub const ERR_CBF_INVALID_PSDVAR_DIMENSION: i32 = 7_125i32

Invalid PSDVAR dimension.

source

pub const ERR_CBF_TOO_FEW_PSDVAR: i32 = 7_126i32

Too few variables defined.

source

pub const ERR_CBF_INVALID_EXP_DIMENSION: i32 = 7_127i32

Invalid dimension of a exponential cone.

source

pub const ERR_CBF_DUPLICATE_POW_CONES: i32 = 7_130i32

Multiple POWCONES specified.

source

pub const ERR_CBF_DUPLICATE_POW_STAR_CONES: i32 = 7_131i32

Multiple POW*CONES specified.

source

pub const ERR_CBF_INVALID_POWER: i32 = 7_132i32

Invalid power specified.

source

pub const ERR_CBF_POWER_CONE_IS_TOO_LONG: i32 = 7_133i32

Power cone is too long.

source

pub const ERR_CBF_INVALID_POWER_CONE_INDEX: i32 = 7_134i32

Invalid power cone index.

source

pub const ERR_CBF_INVALID_POWER_STAR_CONE_INDEX: i32 = 7_135i32

Invalid power star cone index.

source

pub const ERR_CBF_UNHANDLED_POWER_CONE_TYPE: i32 = 7_136i32

An unhandled power cone type.

source

pub const ERR_CBF_UNHANDLED_POWER_STAR_CONE_TYPE: i32 = 7_137i32

An unhandled power star cone type.

source

pub const ERR_CBF_POWER_CONE_MISMATCH: i32 = 7_138i32

The power cone does not match with it definition.

source

pub const ERR_CBF_POWER_STAR_CONE_MISMATCH: i32 = 7_139i32

The power star cone does not match with it definition.

source

pub const ERR_CBF_INVALID_NUMBER_OF_CONES: i32 = 7_140i32

Invalid number of cones.

source

pub const ERR_CBF_INVALID_DIMENSION_OF_CONES: i32 = 7_141i32

Invalid number of cones.

source

pub const ERR_CBF_INVALID_NUM_OBJACOORD: i32 = 7_150i32

Invalid number of OBJACOORD.

source

pub const ERR_CBF_INVALID_NUM_OBJFCOORD: i32 = 7_151i32

Invalid number of OBJFCOORD.

source

pub const ERR_CBF_INVALID_NUM_ACOORD: i32 = 7_152i32

Invalid number of ACOORD.

source

pub const ERR_CBF_INVALID_NUM_BCOORD: i32 = 7_153i32

Invalid number of BCOORD.

source

pub const ERR_CBF_INVALID_NUM_FCOORD: i32 = 7_155i32

Invalid number of FCOORD.

source

pub const ERR_CBF_INVALID_NUM_HCOORD: i32 = 7_156i32

Invalid number of HCOORD.

source

pub const ERR_CBF_INVALID_NUM_DCOORD: i32 = 7_157i32

Invalid number of DCOORD.

source

pub const ERR_CBF_EXPECTED_A_KEYWORD: i32 = 7_158i32

Expected a key word.

source

pub const ERR_CBF_INVALID_NUM_PSDCON: i32 = 7_200i32

Invalid number of PSDCON.

source

pub const ERR_CBF_DUPLICATE_PSDCON: i32 = 7_201i32

Duplicate CON keyword.

source

pub const ERR_CBF_INVALID_DIMENSION_OF_PSDCON: i32 = 7_202i32

Invalid PSDCON dimension.

source

pub const ERR_CBF_INVALID_PSDCON_INDEX: i32 = 7_203i32

Invalid PSDCON index.

source

pub const ERR_CBF_INVALID_PSDCON_VARIABLE_INDEX: i32 = 7_204i32

Invalid PSDCON index.

source

pub const ERR_CBF_INVALID_PSDCON_BLOCK_INDEX: i32 = 7_205i32

Invalid PSDCON index.

source

pub const ERR_CBF_UNSUPPORTED_CHANGE: i32 = 7_210i32

The CHANGE section is not supported.

source

pub const ERR_MIO_INVALID_ROOT_OPTIMIZER: i32 = 7_700i32

An invalid root optimizer was selected for the problem type.

source

pub const ERR_MIO_INVALID_NODE_OPTIMIZER: i32 = 7_701i32

An invalid node optimizer was selected for the problem type.

source

pub const ERR_MPS_WRITE_CPLEX_INVALID_CONE_TYPE: i32 = 7_750i32

An invalid cone type occurs when writing a CPLEX formatted MPS file.

source

pub const ERR_TOCONIC_CONSTR_Q_NOT_PSD: i32 = 7_800i32

The matrix defining the quadratric part of constraint is not positive semidefinite.

source

pub const ERR_TOCONIC_CONSTRAINT_FX: i32 = 7_801i32

The quadratic constraint is an equality, thus not convex.

source

pub const ERR_TOCONIC_CONSTRAINT_RA: i32 = 7_802i32

The quadratic constraint has finite lower and upper bound, and therefore it is not convex.

source

pub const ERR_TOCONIC_CONSTR_NOT_CONIC: i32 = 7_803i32

The constraint is not conic representable.

source

pub const ERR_TOCONIC_OBJECTIVE_NOT_PSD: i32 = 7_804i32

The matrix defining the quadratric part of the objective function is not positive semidefinite.

source

pub const ERR_SERVER_CONNECT: i32 = 8_000i32

Failed to connect to remote solver server.

source

pub const ERR_SERVER_PROTOCOL: i32 = 8_001i32

Unexpected message or data from solver server.

source

pub const ERR_SERVER_STATUS: i32 = 8_002i32

Server returned non-ok status code

source

pub const ERR_SERVER_TOKEN: i32 = 8_003i32

Invalid job ID

source

pub const ERR_SERVER_ADDRESS: i32 = 8_004i32

Invalid address

source

pub const ERR_SERVER_CERTIFICATE: i32 = 8_005i32

Invalid TLS certificate format or path

source

pub const ERR_SERVER_TLS_CLIENT: i32 = 8_006i32

Failed to create TLS client

source

pub const ERR_SERVER_ACCESS_TOKEN: i32 = 8_007i32

Invalid access token

source

pub const ERR_SERVER_PROBLEM_SIZE: i32 = 8_008i32

The problem is too large.

source

pub const ERR_DUPLICATE_INDEX_IN_A_SPARSE_MATRIX: i32 = 20_050i32

An element in a sparse matrix is specified twice.

source

pub const ERR_DUPLICATE_INDEX_IN_AFEIDX_LIST: i32 = 20_060i32

An index is specified twice in an affine expression list.

source

pub const ERR_DUPLICATE_FIJ: i32 = 20_100i32

An element in the F matrix is specified twice.

source

pub const ERR_INVALID_FIJ: i32 = 20_101i32

f[i,j] contains an invalid floating point value, i.e. a NaN or an infinite value.

source

pub const ERR_HUGE_FIJ: i32 = 20_102i32

A numerically huge value is specified for an element in F.

source

pub const ERR_INVALID_G: i32 = 20_103i32

g contains an invalid floating point value, i.e. a NaN or an infinite value.

source

pub const ERR_INVALID_B: i32 = 20_150i32

b contains an invalid floating point value, i.e. a NaN or an infinite value.

source

pub const ERR_DOMAIN_INVALID_INDEX: i32 = 20_400i32

A domain index is invalid.

source

pub const ERR_DOMAIN_DIMENSION: i32 = 20_401i32

A domain dimension is invalid.

source

pub const ERR_DOMAIN_DIMENSION_PSD: i32 = 20_402i32

A PSD domain dimension is invalid.

source

pub const ERR_NOT_POWER_DOMAIN: i32 = 20_403i32

The function is only applicable to primal and dual power cone domains.

source

pub const ERR_DOMAIN_POWER_INVALID_ALPHA: i32 = 20_404i32

Alpha contains an invalid floating point value, i.e. a NaN or an infinite value.

source

pub const ERR_DOMAIN_POWER_NEGATIVE_ALPHA: i32 = 20_405i32

Alpha contains a negative value or zero.

source

pub const ERR_DOMAIN_POWER_NLEFT: i32 = 20_406i32

The value of nleft is too small or too large.

source

pub const ERR_AFE_INVALID_INDEX: i32 = 20_500i32

An affine expression index is invalid.

source

pub const ERR_ACC_INVALID_INDEX: i32 = 20_600i32

A affine conic constraint index is invalid.

source

pub const ERR_ACC_INVALID_ENTRY_INDEX: i32 = 20_601i32

The index of an element in an affine conic constraint is invalid.

source

pub const ERR_ACC_AFE_DOMAIN_MISMATCH: i32 = 20_602i32

There is a mismatch between between the number of affine expressions and total dimension of the domain(s).

source

pub const ERR_DJC_INVALID_INDEX: i32 = 20_700i32

A disjunctive constraint index is invalid.

source

pub const ERR_DJC_UNSUPPORTED_DOMAIN_TYPE: i32 = 20_701i32

An unsupported domain type has been used in a disjunctive constraint.

source

pub const ERR_DJC_AFE_DOMAIN_MISMATCH: i32 = 20_702i32

There is a mismatch between the number of affine expressions and total dimension of the domain(s).

source

pub const ERR_DJC_INVALID_TERM_SIZE: i32 = 20_703i32

A termize is invalid.

source

pub const ERR_DJC_DOMAIN_TERMSIZE_MISMATCH: i32 = 20_704i32

There is a mismatch between the number of domains and the term sizes.

source

pub const ERR_DJC_TOTAL_NUM_TERMS_MISMATCH: i32 = 20_705i32

There total number of terms in all domains does not match.

source

pub const ERR_UNDEF_SOLUTION: i32 = 22_000i32

The required solution is not defined.

source

pub const ERR_NO_DOTY: i32 = 22_010i32

No doty is available.

source

pub const TRM_MAX_ITERATIONS: i32 = 100_000i32

The optimizer terminated at the maximum number of iterations.

source

pub const TRM_MAX_TIME: i32 = 100_001i32

The optimizer terminated at the maximum amount of time.

source

pub const TRM_OBJECTIVE_RANGE: i32 = 100_002i32

The optimizer terminated with an objective value outside the objective range.

source

pub const TRM_STALL: i32 = 100_006i32

The optimizer is terminated due to slow progress.

source

pub const TRM_USER_CALLBACK: i32 = 100_007i32

The user-defined progress callback function terminated the optimization.

source

pub const TRM_MIO_NUM_RELAXS: i32 = 100_008i32

The mixed-integer optimizer terminated as the maximum number of relaxations was reached.

source

pub const TRM_MIO_NUM_BRANCHES: i32 = 100_009i32

The mixed-integer optimizer terminated as the maximum number of branches was reached.

source

pub const TRM_NUM_MAX_NUM_INT_SOLUTIONS: i32 = 100_015i32

The mixed-integer optimizer terminated as the maximum number of feasible solutions was reached.

source

pub const TRM_MAX_NUM_SETBACKS: i32 = 100_020i32

The optimizer terminated as the maximum number of set-backs was reached.

source

pub const TRM_NUMERICAL_PROBLEM: i32 = 100_025i32

The optimizer terminated due to a numerical problem.

source

pub const TRM_LOST_RACE: i32 = 100_027i32

Lost a race.

source

pub const TRM_INTERNAL: i32 = 100_030i32

The optimizer terminated due to some internal reason.

source

pub const TRM_INTERNAL_STOP: i32 = 100_031i32

The optimizer terminated for internal reasons.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.