16.6 Response codes

MSKrescodee

The enumeration type containing all response codes.

16.6.1 Termination

MSK_RES_OK (0)

No error occurred.

MSK_RES_TRM_MAX_ITERATIONS (10000)

The optimizer terminated at the maximum number of iterations.

MSK_RES_TRM_MAX_TIME (10001)

The optimizer terminated at the maximum amount of time.

MSK_RES_TRM_OBJECTIVE_RANGE (10002)

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

MSK_RES_TRM_MIO_NEAR_REL_GAP (10003)

The mixed-integer optimizer terminated as the delayed near optimal relative gap tolerance was satisfied.

MSK_RES_TRM_MIO_NEAR_ABS_GAP (10004)

The mixed-integer optimizer terminated as the delayed near optimal absolute gap tolerance was satisfied.

MSK_RES_TRM_MIO_NUM_RELAXS (10008)

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

MSK_RES_TRM_MIO_NUM_BRANCHES (10009)

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

MSK_RES_TRM_NUM_MAX_NUM_INT_SOLUTIONS (10015)

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

MSK_RES_TRM_STALL (10006)

The optimizer is terminated due to slow progress.

Stalling means that numerical problems prevent the optimizer from making reasonable progress and that it make no sense to continue. In many cases this happens if the problem is badly scaled or otherwise ill-conditioned. There is no guarantee that the solution will be (near) feasible or near optimal. However, often stalling happens near the optimum, and the returned solution may be of good quality. Therefore, it is recommended to check the status of then solution. If the solution near optimal the solution is most likely good enough for most practical purposes.

Please note that if a linear optimization problem is solved using the interior-point optimizer with basis identification turned on, the returned basic solution likely to have high accuracy, even though the optimizer stalled.

Some common causes of stalling are a) badly scaled models, b) near feasible or near infeasible problems and c) a non-convex problems. Case c) is only relevant for general non-linear problems. It is not possible in general for MOSEK to check if a specific problems is convex since such a check would be NP hard in itself. This implies that care should be taken when solving problems involving general user defined functions.

MSK_RES_TRM_USER_CALLBACK (10007)

The optimizer terminated due to the return of the user-defined callback function.

MSK_RES_TRM_MAX_NUM_SETBACKS (10020)

The optimizer terminated as the maximum number of set-backs was reached. This indicates serious numerical problems and a possibly badly formulated problem.

MSK_RES_TRM_NUMERICAL_PROBLEM (10025)

The optimizer terminated due to numerical problems.

MSK_RES_TRM_INTERNAL (10030)

The optimizer terminated due to some internal reason. Please contact MOSEK support.

MSK_RES_TRM_INTERNAL_STOP (10031)

The optimizer terminated for internal reasons. Please contact MOSEK support.

16.6.2 Warnings

MSK_RES_WRN_OPEN_PARAM_FILE (50)

The parameter file could not be opened.

MSK_RES_WRN_LARGE_BOUND (51)

A numerically large bound value is specified.

MSK_RES_WRN_LARGE_LO_BOUND (52)

A numerically large lower bound value is specified.

MSK_RES_WRN_LARGE_UP_BOUND (53)

A numerically large upper bound value is specified.

MSK_RES_WRN_LARGE_CON_FX (54)

An equality constraint is fixed to a numerically large value. This can cause numerical problems.

MSK_RES_WRN_LARGE_CJ (57)

A numerically large value is specified for one \(c_{j}\).

MSK_RES_WRN_LARGE_AIJ (62)

A numerically large value is specified for an \(a_{i,j}\) element in \(A\). The parameter MSK_DPAR_DATA_TOL_AIJ_LARGE controls when an \(a_{i,j}\) is considered large.

MSK_RES_WRN_ZERO_AIJ (63)

One or more zero elements are specified in A.

MSK_RES_WRN_NAME_MAX_LEN (65)

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

MSK_RES_WRN_SPAR_MAX_LEN (66)

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

MSK_RES_WRN_MPS_SPLIT_RHS_VECTOR (70)

An RHS vector is split into several nonadjacent parts in an MPS file.

MSK_RES_WRN_MPS_SPLIT_RAN_VECTOR (71)

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

MSK_RES_WRN_MPS_SPLIT_BOU_VECTOR (72)

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

MSK_RES_WRN_LP_OLD_QUAD_FORMAT (80)

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

MSK_RES_WRN_LP_DROP_VARIABLE (85)

Ignored a variable because the variable was not previously defined. Usually this implies that a variable appears in the bound section but not in the objective or the constraints.

MSK_RES_WRN_NZ_IN_UPR_TRI (200)

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

MSK_RES_WRN_DROPPED_NZ_QOBJ (201)

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

MSK_RES_WRN_IGNORE_INTEGER (250)

Ignored integer constraints.

MSK_RES_WRN_NO_GLOBAL_OPTIMIZER (251)

No global optimizer is available.

MSK_RES_WRN_MIO_INFEASIBLE_FINAL (270)

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

MSK_RES_WRN_SOL_FILTER (300)

Invalid solution filter is specified.

MSK_RES_WRN_UNDEF_SOL_FILE_NAME (350)

Undefined name occurred in a solution.

MSK_RES_WRN_SOL_FILE_IGNORED_CON (351)

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

MSK_RES_WRN_SOL_FILE_IGNORED_VAR (352)

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

MSK_RES_WRN_TOO_FEW_BASIS_VARS (400)

An incomplete basis has been specified. Too few basis variables are specified.

MSK_RES_WRN_TOO_MANY_BASIS_VARS (405)

A basis with too many variables has been specified.

MSK_RES_WRN_NO_NONLINEAR_FUNCTION_WRITE (450)

The problem contains a general nonlinear function in either the objective or the constraints. Such a nonlinear function cannot be written to a disk file. Note that quadratic terms when inputted explicitly can be written to disk.

MSK_RES_WRN_LICENSE_EXPIRE (500)

The license expires.

MSK_RES_WRN_LICENSE_SERVER (501)

The license server is not responding.

MSK_RES_WRN_EMPTY_NAME (502)

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

MSK_RES_WRN_USING_GENERIC_NAMES (503)

Generic names are used because a name is not valid. For instance when writing an LP file the names must not contain blanks or start with a digit.

MSK_RES_WRN_LICENSE_FEATURE_EXPIRE (505)

The license expires.

MSK_RES_WRN_PARAM_NAME_DOU (510)

The parameter name is not recognized as a double parameter.

MSK_RES_WRN_PARAM_NAME_INT (511)

The parameter name is not recognized as a integer parameter.

MSK_RES_WRN_PARAM_NAME_STR (512)

The parameter name is not recognized as a string parameter.

MSK_RES_WRN_PARAM_STR_VALUE (515)

The string is not recognized as a symbolic value for the parameter.

MSK_RES_WRN_PARAM_IGNORED_CMIO (516)

A parameter was ignored by the conic mixed integer optimizer.

MSK_RES_WRN_ZEROS_IN_SPARSE_ROW (705)

One or more (near) zero elements are specified in a sparse row of a matrix. Since, it is redundant to specify zero elements then it may indicate an error.

MSK_RES_WRN_ZEROS_IN_SPARSE_COL (710)

One or more (near) zero elements are specified in a sparse column of a matrix. It is redundant to specify zero elements. Hence, it may indicate an error.

MSK_RES_WRN_INCOMPLETE_LINEAR_DEPENDENCY_CHECK (800)

The linear dependency check(s) is incomplete. Normally this is not an important warning unless the optimization problem has been formulated with linear dependencies. Linear dependencies may prevent MOSEK from solving the problem.

MSK_RES_WRN_ELIMINATOR_SPACE (801)

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

MSK_RES_WRN_PRESOLVE_OUTOFSPACE (802)

The presolve is incomplete due to lack of space.

MSK_RES_WRN_WRITE_CHANGED_NAMES (803)

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

MSK_RES_WRN_WRITE_DISCARDED_CFIX (804)

The fixed objective term could not be converted to a variable and was discarded in the output file.

MSK_RES_WRN_CONSTRUCT_SOLUTION_INFEAS (805)

After fixing the integer variables at the suggested values then the problem is infeasible.

MSK_RES_WRN_CONSTRUCT_INVALID_SOL_ITG (807)

The initial value for one or more of the integer variables is not feasible.

MSK_RES_WRN_CONSTRUCT_NO_SOL_ITG (810)

The construct solution requires an integer solution.

MSK_RES_WRN_DUPLICATE_CONSTRAINT_NAMES (850)

Two constraint names are identical.

MSK_RES_WRN_DUPLICATE_VARIABLE_NAMES (851)

Two variable names are identical.

MSK_RES_WRN_DUPLICATE_BARVARIABLE_NAMES (852)

Two barvariable names are identical.

MSK_RES_WRN_DUPLICATE_CONE_NAMES (853)

Two cone names are identical.

MSK_RES_WRN_ANA_LARGE_BOUNDS (900)

This warning is issued by the problem analyzer, if one or more constraint or variable bounds are very large. One should consider omitting these bounds entirely by setting them to +inf or -inf.

MSK_RES_WRN_ANA_C_ZERO (901)

This warning is issued by the problem analyzer, if the coefficients in the linear part of the objective are all zero.

MSK_RES_WRN_ANA_EMPTY_COLS (902)

This warning is issued by the problem analyzer, if columns, in which all coefficients are zero, are found.

MSK_RES_WRN_ANA_CLOSE_BOUNDS (903)

This warning is issued by problem analyzer, if ranged constraints or variables with very close upper and lower bounds are detected. One should consider treating such constraints as equalities and such variables as constants.

MSK_RES_WRN_ANA_ALMOST_INT_BOUNDS (904)

This warning is issued by the problem analyzer if a constraint is bound nearly integral.

MSK_RES_WRN_QUAD_CONES_WITH_ROOT_FIXED_AT_ZERO (930)

For at least one quadratic cone the root is fixed at (nearly) zero. This may cause problems such as a very large dual solution. Therefore, it is recommended to remove such cones before optimizing the problems, or to fix all the variables in the cone to 0.

MSK_RES_WRN_RQUAD_CONES_WITH_ROOT_FIXED_AT_ZERO (931)

For at least one rotated quadratic cone at least one of the root variables are fixed at (nearly) zero. This may cause problems such as a very large dual solution. Therefore, it is recommended to remove such cones before optimizing the problems, or to fix all the variables in the cone to 0.

MSK_RES_WRN_NO_DUALIZER (950)

No automatic dualizer is available for the specified problem. The primal problem is solved.

MSK_RES_WRN_SYM_MAT_LARGE (960)

A numerically large value is specified for an \(e_{i,j}\) element in \(E\). The parameter MSK_DPAR_DATA_SYM_MAT_TOL_LARGE controls when an \(e_{i,j}\) is considered large.

16.6.3 Errors

MSK_RES_ERR_LICENSE (1000)

Invalid license.

MSK_RES_ERR_LICENSE_EXPIRED (1001)

The license has expired.

MSK_RES_ERR_LICENSE_VERSION (1002)

The license is valid for another version of MOSEK.

MSK_RES_ERR_SIZE_LICENSE (1005)

The problem is bigger than the license.

MSK_RES_ERR_PROB_LICENSE (1006)

The software is not licensed to solve the problem.

MSK_RES_ERR_FILE_LICENSE (1007)

Invalid license file.

MSK_RES_ERR_MISSING_LICENSE_FILE (1008)

MOSEK cannot license file or a token server. See the MOSEK installation manual for details.

MSK_RES_ERR_SIZE_LICENSE_CON (1010)

The problem has too many constraints to be solved with the available license.

MSK_RES_ERR_SIZE_LICENSE_VAR (1011)

The problem has too many variables to be solved with the available license.

MSK_RES_ERR_SIZE_LICENSE_INTVAR (1012)

The problem contains too many integer variables to be solved with the available license.

MSK_RES_ERR_OPTIMIZER_LICENSE (1013)

The optimizer required is not licensed.

MSK_RES_ERR_FLEXLM (1014)

The FLEXlm license manager reported an error.

MSK_RES_ERR_LICENSE_SERVER (1015)

The license server is not responding.

MSK_RES_ERR_LICENSE_MAX (1016)

Maximum number of licenses is reached.

MSK_RES_ERR_LICENSE_MOSEKLM_DAEMON (1017)

The MOSEKLM license manager daemon is not up and running.

MSK_RES_ERR_LICENSE_FEATURE (1018)

A requested feature is not available in the license file(s). Most likely due to an incorrect license system setup.

MSK_RES_ERR_PLATFORM_NOT_LICENSED (1019)

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

MSK_RES_ERR_LICENSE_CANNOT_ALLOCATE (1020)

The license system cannot allocate the memory required.

MSK_RES_ERR_LICENSE_CANNOT_CONNECT (1021)

MOSEK cannot connect to the license server. Most likely the license server is not up and running.

MSK_RES_ERR_LICENSE_INVALID_HOSTID (1025)

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

MSK_RES_ERR_LICENSE_SERVER_VERSION (1026)

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

MSK_RES_ERR_LICENSE_NO_SERVER_SUPPORT (1027)

The license server does not support the requested feature. Possible reasons for this error include:

  • The feature has expired.
  • The feature’s start date is later than today’s date.
  • The version requested is higher than feature’s the highest supported version.
  • A corrupted license file.

Try restarting the license and inspect the license server debug file, usually called lmgrd.log.

MSK_RES_ERR_LICENSE_NO_SERVER_LINE (1028)

There is no SERVER line in the license file. All non-zero license count features need at least one SERVER line.

MSK_RES_ERR_OPEN_DL (1030)

A dynamic link library could not be opened.

MSK_RES_ERR_OLDER_DLL (1035)

The dynamic link library is older than the specified version.

MSK_RES_ERR_NEWER_DLL (1036)

The dynamic link library is newer than the specified version.

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

MSK_RES_ERR_THREAD_MUTEX_INIT (1045)

Could not initialize a mutex.

MSK_RES_ERR_THREAD_MUTEX_LOCK (1046)

Could not lock a mutex.

MSK_RES_ERR_THREAD_MUTEX_UNLOCK (1047)

Could not unlock a mutex.

MSK_RES_ERR_THREAD_CREATE (1048)

Could not create a thread. This error may occur if a large number of environments are created and not deleted again. In any case it is a good practice to minimize the number of environments created.

MSK_RES_ERR_THREAD_COND_INIT (1049)

Could not initialize a condition.

MSK_RES_ERR_UNKNOWN (1050)

Unknown error.

MSK_RES_ERR_SPACE (1051)

Out of space.

MSK_RES_ERR_FILE_OPEN (1052)

Error while opening a file.

MSK_RES_ERR_FILE_READ (1053)

File read error.

MSK_RES_ERR_FILE_WRITE (1054)

File write error.

MSK_RES_ERR_DATA_FILE_EXT (1055)

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

MSK_RES_ERR_INVALID_FILE_NAME (1056)

An invalid file name has been specified.

MSK_RES_ERR_INVALID_SOL_FILE_NAME (1057)

An invalid file name has been specified.

MSK_RES_ERR_END_OF_FILE (1059)

End of file reached.

MSK_RES_ERR_NULL_ENV (1060)

env is a NULL pointer.

MSK_RES_ERR_NULL_TASK (1061)

task is a NULL pointer.

MSK_RES_ERR_INVALID_STREAM (1062)

An invalid stream is referenced.

MSK_RES_ERR_NO_INIT_ENV (1063)

env is not initialized.

MSK_RES_ERR_INVALID_TASK (1064)

The task is invalid.

MSK_RES_ERR_NULL_POINTER (1065)

An argument to a function is unexpectedly a NULL pointer.

MSK_RES_ERR_LIVING_TASKS (1066)

All tasks associated with an enviroment must be deleted before the environment is deleted. There are still some undeleted tasks.

MSK_RES_ERR_BLANK_NAME (1070)

An all blank name has been specified.

MSK_RES_ERR_DUP_NAME (1071)

The same name was used multiple times for the same problem item type.

MSK_RES_ERR_INVALID_OBJ_NAME (1075)

An invalid objective name is specified.

MSK_RES_ERR_INVALID_CON_NAME (1076)

An invalid constraint name is used.

MSK_RES_ERR_INVALID_VAR_NAME (1077)

An invalid variable name is used.

MSK_RES_ERR_INVALID_CONE_NAME (1078)

An invalid cone name is used.

MSK_RES_ERR_INVALID_BARVAR_NAME (1079)

An invalid symmetric matrix variable name is used.

MSK_RES_ERR_SPACE_LEAKING (1080)

MOSEK is leaking memory. This can be due to either an incorrect use of MOSEK or a bug.

MSK_RES_ERR_SPACE_NO_INFO (1081)

No available information about the space usage.

MSK_RES_ERR_READ_FORMAT (1090)

The specified format cannot be read.

MSK_RES_ERR_MPS_FILE (1100)

An error occurred while reading an MPS file.

MSK_RES_ERR_MPS_INV_FIELD (1101)

A field in the MPS file is invalid. Probably it is too wide.

MSK_RES_ERR_MPS_INV_MARKER (1102)

An invalid marker has been specified in the MPS file.

MSK_RES_ERR_MPS_NULL_CON_NAME (1103)

An empty constraint name is used in an MPS file.

MSK_RES_ERR_MPS_NULL_VAR_NAME (1104)

An empty variable name is used in an MPS file.

MSK_RES_ERR_MPS_UNDEF_CON_NAME (1105)

An undefined constraint name occurred in an MPS file.

MSK_RES_ERR_MPS_UNDEF_VAR_NAME (1106)

An undefined variable name occurred in an MPS file.

MSK_RES_ERR_MPS_INV_CON_KEY (1107)

An invalid constraint key occurred in an MPS file.

MSK_RES_ERR_MPS_INV_BOUND_KEY (1108)

An invalid bound key occurred in an MPS file.

MSK_RES_ERR_MPS_INV_SEC_NAME (1109)

An invalid section name occurred in an MPS file.

MSK_RES_ERR_MPS_NO_OBJECTIVE (1110)

No objective is defined in an MPS file.

MSK_RES_ERR_MPS_SPLITTED_VAR (1111)

All elements in a column of the \(A\) matrix must be specified consecutively. Hence, it is illegal to specify non-zero elements in \(A\) for variable 1, then for variable 2 and then variable 1 again.

MSK_RES_ERR_MPS_MUL_CON_NAME (1112)

A constraint name was specified multiple times in the ROWS section.

MSK_RES_ERR_MPS_MUL_QSEC (1113)

Multiple QSECTIONs are specified for a constraint in the MPS data file.

MSK_RES_ERR_MPS_MUL_QOBJ (1114)

The Q term in the objective is specified multiple times in the MPS data file.

MSK_RES_ERR_MPS_INV_SEC_ORDER (1115)

The sections in the MPS data file are not in the correct order.

MSK_RES_ERR_MPS_MUL_CSEC (1116)

Multiple CSECTIONs are given the same name.

MSK_RES_ERR_MPS_CONE_TYPE (1117)

Invalid cone type specified in a CSECTION.

MSK_RES_ERR_MPS_CONE_OVERLAP (1118)

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

MSK_RES_ERR_MPS_CONE_REPEAT (1119)

A variable is repeated within the CSECTION.

MSK_RES_ERR_MPS_NON_SYMMETRIC_Q (1120)

A non symmetric matrice has been speciefied.

MSK_RES_ERR_MPS_DUPLICATE_Q_ELEMENT (1121)

Duplicate elements is specfied in a \(Q\) matrix.

MSK_RES_ERR_MPS_INVALID_OBJSENSE (1122)

An invalid objective sense is specified.

MSK_RES_ERR_MPS_TAB_IN_FIELD2 (1125)

A tab char occurred in field 2.

MSK_RES_ERR_MPS_TAB_IN_FIELD3 (1126)

A tab char occurred in field 3.

MSK_RES_ERR_MPS_TAB_IN_FIELD5 (1127)

A tab char occurred in field 5.

MSK_RES_ERR_MPS_INVALID_OBJ_NAME (1128)

An invalid objective name is specified.

MSK_RES_ERR_LP_INCOMPATIBLE (1150)

The problem cannot be written to an LP formatted file.

MSK_RES_ERR_LP_EMPTY (1151)

The problem cannot be written to an LP formatted file.

MSK_RES_ERR_LP_DUP_SLACK_NAME (1152)

The name of the slack variable added to a ranged constraint already exists.

MSK_RES_ERR_WRITE_MPS_INVALID_NAME (1153)

An invalid name is created while writing an MPS file. Usually this will make the MPS file unreadable.

MSK_RES_ERR_LP_INVALID_VAR_NAME (1154)

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

MSK_RES_ERR_LP_FREE_CONSTRAINT (1155)

Free constraints cannot be written in LP file format.

MSK_RES_ERR_WRITE_OPF_INVALID_VAR_NAME (1156)

Empty variable names cannot be written to OPF files.

MSK_RES_ERR_LP_FILE_FORMAT (1157)

Syntax error in an LP file.

MSK_RES_ERR_WRITE_LP_FORMAT (1158)

Problem cannot be written as an LP file.

MSK_RES_ERR_READ_LP_MISSING_END_TAG (1159)

Syntax error in LP file. Possibly missing End tag.

MSK_RES_ERR_LP_FORMAT (1160)

Syntax error in an LP file.

MSK_RES_ERR_WRITE_LP_NON_UNIQUE_NAME (1161)

An auto-generated name is not unique.

MSK_RES_ERR_READ_LP_NONEXISTING_NAME (1162)

A variable never occurred in objective or constraints.

MSK_RES_ERR_LP_WRITE_CONIC_PROBLEM (1163)

The problem contains cones that cannot be written to an LP formatted file.

MSK_RES_ERR_LP_WRITE_GECO_PROBLEM (1164)

The problem contains general convex terms that cannot be written to an LP formatted file.

MSK_RES_ERR_WRITING_FILE (1166)

An error occurred while writing file

MSK_RES_ERR_OPF_FORMAT (1168)

Syntax error in an OPF file

MSK_RES_ERR_OPF_NEW_VARIABLE (1169)

Introducing new variables is now allowed. When a [variables] section is present, it is not allowed to introduce new variables later in the problem.

MSK_RES_ERR_INVALID_NAME_IN_SOL_FILE (1170)

An invalid name occurred in a solution file.

MSK_RES_ERR_LP_INVALID_CON_NAME (1171)

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

MSK_RES_ERR_OPF_PREMATURE_EOF (1172)

Premature end of file in an OPF file.

MSK_RES_ERR_JSON_SYNTAX (1175)

Syntax error in an JSON data

MSK_RES_ERR_JSON_STRING (1176)

Error in JSON string.

MSK_RES_ERR_JSON_NUMBER_OVERFLOW (1177)

Invalid number entry - wrong type or value overflow.

MSK_RES_ERR_JSON_FORMAT (1178)

Error in an JSON Task file

MSK_RES_ERR_JSON_DATA (1179)

Inconsistent data in JSON Task file

MSK_RES_ERR_JSON_MISSING_DATA (1180)

Missing data section in JSON task file.

MSK_RES_ERR_ARGUMENT_LENNEQ (1197)

Incorrect length of arguments.

MSK_RES_ERR_ARGUMENT_TYPE (1198)

Incorrect argument type.

MSK_RES_ERR_NR_ARGUMENTS (1199)

Incorrect number of function arguments.

MSK_RES_ERR_IN_ARGUMENT (1200)

A function argument is incorrect.

MSK_RES_ERR_ARGUMENT_DIMENSION (1201)

A function argument is of incorrect dimension.

MSK_RES_ERR_INDEX_IS_TOO_SMALL (1203)

An index in an argument is too small.

MSK_RES_ERR_INDEX_IS_TOO_LARGE (1204)

An index in an argument is too large.

MSK_RES_ERR_PARAM_NAME (1205)

The parameter name is not correct.

MSK_RES_ERR_PARAM_NAME_DOU (1206)

The parameter name is not correct for a double parameter.

MSK_RES_ERR_PARAM_NAME_INT (1207)

The parameter name is not correct for an integer parameter.

MSK_RES_ERR_PARAM_NAME_STR (1208)

The parameter name is not correct for a string parameter.

MSK_RES_ERR_PARAM_INDEX (1210)

Parameter index is out of range.

MSK_RES_ERR_PARAM_IS_TOO_LARGE (1215)

The parameter value is too large.

MSK_RES_ERR_PARAM_IS_TOO_SMALL (1216)

The parameter value is too small.

MSK_RES_ERR_PARAM_VALUE_STR (1217)

The parameter value string is incorrect.

MSK_RES_ERR_PARAM_TYPE (1218)

The parameter type is invalid.

MSK_RES_ERR_INF_DOU_INDEX (1219)

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

MSK_RES_ERR_INF_INT_INDEX (1220)

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

MSK_RES_ERR_INDEX_ARR_IS_TOO_SMALL (1221)

An index in an array argument is too small.

MSK_RES_ERR_INDEX_ARR_IS_TOO_LARGE (1222)

An index in an array argument is too large.

MSK_RES_ERR_INF_LINT_INDEX (1225)

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

MSK_RES_ERR_ARG_IS_TOO_SMALL (1226)

The value of a argument is too small.

MSK_RES_ERR_ARG_IS_TOO_LARGE (1227)

The value of a argument is too small.

MSK_RES_ERR_INVALID_WHICHSOL (1228)

whichsol is invalid.

MSK_RES_ERR_INF_DOU_NAME (1230)

A double information name is invalid.

MSK_RES_ERR_INF_INT_NAME (1231)

An integer information name is invalid.

MSK_RES_ERR_INF_TYPE (1232)

The information type is invalid.

MSK_RES_ERR_INF_LINT_NAME (1234)

A long integer information name is invalid.

MSK_RES_ERR_INDEX (1235)

An index is out of range.

MSK_RES_ERR_WHICHSOL (1236)

The solution defined by whichsol does not exists.

MSK_RES_ERR_SOLITEM (1237)

The solution item number solitem is invalid. Please note that MSK_SOL_ITEM_SNX is invalid for the basic solution.

MSK_RES_ERR_WHICHITEM_NOT_ALLOWED (1238)

whichitem is unacceptable.

MSK_RES_ERR_MAXNUMCON (1240)

The maximum number of constraints specified is smaller than the number of constraints in the task.

MSK_RES_ERR_MAXNUMVAR (1241)

The maximum number of variables specified is smaller than the number of variables in the task.

MSK_RES_ERR_MAXNUMBARVAR (1242)

The maximum number of semidefinite variables specified is smaller than the number of semidefinite variables in the task.

MSK_RES_ERR_MAXNUMQNZ (1243)

The maximum number of non-zeros specified for the \(Q\) matrices is smaller than the number of non-zeros in the current \(Q\) matrices.

MSK_RES_ERR_TOO_SMALL_MAX_NUM_NZ (1245)

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

MSK_RES_ERR_INVALID_IDX (1246)

A specified index is invalid.

MSK_RES_ERR_INVALID_MAX_NUM (1247)

A specified index is invalid.

MSK_RES_ERR_NUMCONLIM (1250)

Maximum number of constraints limit is exceeded.

MSK_RES_ERR_NUMVARLIM (1251)

Maximum number of variables limit is exceeded.

MSK_RES_ERR_TOO_SMALL_MAXNUMANZ (1252)

The maximum number of non-zeros specified for \(A\) is smaller than the number of non-zeros in the current \(A\).

MSK_RES_ERR_INV_APTRE (1253)

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

MSK_RES_ERR_MUL_A_ELEMENT (1254)

An element in \(A\) is defined multiple times.

MSK_RES_ERR_INV_BK (1255)

Invalid bound key.

MSK_RES_ERR_INV_BKC (1256)

Invalid bound key is specified for a constraint.

MSK_RES_ERR_INV_BKX (1257)

An invalid bound key is specified for a variable.

MSK_RES_ERR_INV_VAR_TYPE (1258)

An invalid variable type is specified for a variable.

MSK_RES_ERR_SOLVER_PROBTYPE (1259)

Problem type does not match the chosen optimizer.

MSK_RES_ERR_OBJECTIVE_RANGE (1260)

Empty objective range.

MSK_RES_ERR_FIRST (1261)

Invalid first.

MSK_RES_ERR_LAST (1262)

Invalid index last. A given index was out of expected range.

MSK_RES_ERR_NEGATIVE_SURPLUS (1263)

Negative surplus.

MSK_RES_ERR_NEGATIVE_APPEND (1264)

Cannot append a negative number.

MSK_RES_ERR_UNDEF_SOLUTION (1265)

MOSEK has the following solution types:

  • an interior-point solution,
  • an basic solution,
  • and an integer solution.

Each optimizer may set one or more of these solutions; e.g by default a successful optimization with the interior-point optimizer defines the interior-point solution, and, for linear problems, also the basic solution. This error occurs when asking for a solution or for information about a solution that is not defined.

MSK_RES_ERR_BASIS (1266)

An invalid basis is specified. Either too many or too few basis variables are specified.

MSK_RES_ERR_INV_SKC (1267)

Invalid value in skc.

MSK_RES_ERR_INV_SKX (1268)

Invalid value in skx.

MSK_RES_ERR_INV_SKN (1274)

Invalid value in skn.

MSK_RES_ERR_INV_SK_STR (1269)

Invalid status key string encountered.

MSK_RES_ERR_INV_SK (1270)

Invalid status key code.

MSK_RES_ERR_INV_CONE_TYPE_STR (1271)

Invalid cone type string encountered.

MSK_RES_ERR_INV_CONE_TYPE (1272)

Invalid cone type code is encountered.

MSK_RES_ERR_INVALID_SURPLUS (1275)

Invalid surplus.

MSK_RES_ERR_INV_NAME_ITEM (1280)

An invalid name item code is used.

MSK_RES_ERR_PRO_ITEM (1281)

An invalid problem is used.

MSK_RES_ERR_INVALID_FORMAT_TYPE (1283)

Invalid format type.

MSK_RES_ERR_FIRSTI (1285)

Invalid firsti.

MSK_RES_ERR_LASTI (1286)

Invalid lasti.

MSK_RES_ERR_FIRSTJ (1287)

Invalid firstj.

MSK_RES_ERR_LASTJ (1288)

Invalid lastj.

MSK_RES_ERR_MAX_LEN_IS_TOO_SMALL (1289)

An maximum length that is too small has been specified.

MSK_RES_ERR_NONLINEAR_EQUALITY (1290)

The model contains a nonlinear equality which defines a nonconvex set.

MSK_RES_ERR_NONCONVEX (1291)

The optimization problem is nonconvex.

MSK_RES_ERR_NONLINEAR_RANGED (1292)

Nonlinear constraints with finite lower and upper bound always define a nonconvex feasible set.

MSK_RES_ERR_CON_Q_NOT_PSD (1293)

The quadratic constraint matrix is not positive semidefinite as expected for a constraint with finite upper bound. This results in a nonconvex problem. The parameter MSK_DPAR_CHECK_CONVEXITY_REL_TOL can be used to relax the convexity check.

MSK_RES_ERR_CON_Q_NOT_NSD (1294)

The quadratic constraint matrix is not negative semidefinite as expected for a constraint with finite lower bound. This results in a nonconvex problem. The parameter MSK_DPAR_CHECK_CONVEXITY_REL_TOL can be used to relax the convexity check.

MSK_RES_ERR_OBJ_Q_NOT_PSD (1295)

The quadratic coefficient matrix in the objective is not positive semidefinite as expected for a minimization problem. The parameter MSK_DPAR_CHECK_CONVEXITY_REL_TOL can be used to relax the convexity check.

MSK_RES_ERR_OBJ_Q_NOT_NSD (1296)

The quadratic coefficient matrix in the objective is not negative semidefinite as expected for a maximization problem. The parameter MSK_DPAR_CHECK_CONVEXITY_REL_TOL can be used to relax the convexity check.

MSK_RES_ERR_ARGUMENT_PERM_ARRAY (1299)

An invalid permutation array is specified.

MSK_RES_ERR_CONE_INDEX (1300)

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

MSK_RES_ERR_CONE_SIZE (1301)

A cone with too few members is specified.

MSK_RES_ERR_CONE_OVERLAP (1302)

One or more of the variables in the cone to be added is already member of another cone. Now assume the variable is \(x_j\) then add a new variable say \(x_k\) and the constraint

\[x_j = x_k\]

and then let \(x_k\) be member of the cone to be appended.

MSK_RES_ERR_CONE_REP_VAR (1303)

A variable is included multiple times in the cone.

MSK_RES_ERR_MAXNUMCONE (1304)

The value specified for maxnumcone is too small.

MSK_RES_ERR_CONE_TYPE (1305)

Invalid cone type specified.

MSK_RES_ERR_CONE_TYPE_STR (1306)

Invalid cone type specified.

MSK_RES_ERR_CONE_OVERLAP_APPEND (1307)

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

MSK_RES_ERR_REMOVE_CONE_VARIABLE (1310)

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

MSK_RES_ERR_SOL_FILE_INVALID_NUMBER (1350)

An invalid number is specified in a solution file.

MSK_RES_ERR_HUGE_C (1375)

A huge value in absolute size is specified for one \(c_j\).

MSK_RES_ERR_HUGE_AIJ (1380)

A numerically huge value is specified for an \(a_{i,j}\) element in \(A\). The parameter MSK_DPAR_DATA_TOL_AIJ_HUGE controls when an \(a_{i,j}\) is considered huge.

MSK_RES_ERR_DUPLICATE_AIJ (1385)

An element in the A matrix is specified twice.

MSK_RES_ERR_LOWER_BOUND_IS_A_NAN (1390)

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

MSK_RES_ERR_UPPER_BOUND_IS_A_NAN (1391)

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

MSK_RES_ERR_INFINITE_BOUND (1400)

A numerically huge bound value is specified.

MSK_RES_ERR_INV_QOBJ_SUBI (1401)

Invalid value in qosubi.

MSK_RES_ERR_INV_QOBJ_SUBJ (1402)

Invalid value in qosubj.

MSK_RES_ERR_INV_QOBJ_VAL (1403)

Invalid value in qoval.

MSK_RES_ERR_INV_QCON_SUBK (1404)

Invalid value in qcsubk.

MSK_RES_ERR_INV_QCON_SUBI (1405)

Invalid value in qcsubi.

MSK_RES_ERR_INV_QCON_SUBJ (1406)

Invalid value in qcsubj.

MSK_RES_ERR_INV_QCON_VAL (1407)

Invalid value in qcval.

MSK_RES_ERR_QCON_SUBI_TOO_SMALL (1408)

Invalid value in qcsubi.

MSK_RES_ERR_QCON_SUBI_TOO_LARGE (1409)

Invalid value in qcsubi.

MSK_RES_ERR_QOBJ_UPPER_TRIANGLE (1415)

An element in the upper triangle of \(Q^o\) is specified. Only elements in the lower triangle should be specified.

MSK_RES_ERR_QCON_UPPER_TRIANGLE (1417)

An element in the upper triangle of a \(Q^k\) is specified. Only elements in the lower triangle should be specified.

MSK_RES_ERR_FIXED_BOUND_VALUES (1425)

A fixed constraint/variable has been specified using the bound keys but the numerical value of the lower and upper bound is different.

MSK_RES_ERR_NONLINEAR_FUNCTIONS_NOT_ALLOWED (1428)

An operation that is invalid for problems with nonlinear functions defined has been attempted.

MSK_RES_ERR_USER_FUNC_RET (1430)

An user function reported an error.

MSK_RES_ERR_USER_FUNC_RET_DATA (1431)

An user function returned invalid data.

MSK_RES_ERR_USER_NLO_FUNC (1432)

The user-defined nonlinear function reported an error.

MSK_RES_ERR_USER_NLO_EVAL (1433)

The user-defined nonlinear function reported an error.

MSK_RES_ERR_USER_NLO_EVAL_HESSUBI (1440)

The user-defined nonlinear function reported an invalid subscript in the Hessian.

MSK_RES_ERR_USER_NLO_EVAL_HESSUBJ (1441)

The user-defined nonlinear function reported an invalid subscript in the Hessian.

MSK_RES_ERR_INVALID_OBJECTIVE_SENSE (1445)

An invalid objective sense is specified.

MSK_RES_ERR_UNDEFINED_OBJECTIVE_SENSE (1446)

The objective sense has not been specified before the optimization.

MSK_RES_ERR_Y_IS_UNDEFINED (1449)

The solution item \(y\) is undefined.

MSK_RES_ERR_NAN_IN_DOUBLE_DATA (1450)

An invalid floating point value was used in some double data.

MSK_RES_ERR_NAN_IN_BLC (1461)

\(l^c\) contains an invalid floating point value, i.e. a NaN.

MSK_RES_ERR_NAN_IN_BUC (1462)

\(u^c\) contains an invalid floating point value, i.e. a NaN.

MSK_RES_ERR_NAN_IN_C (1470)

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

MSK_RES_ERR_NAN_IN_BLX (1471)

\(l^x\) contains an invalid floating point value, i.e. a NaN.

MSK_RES_ERR_NAN_IN_BUX (1472)

\(u^x\) contains an invalid floating point value, i.e. a NaN.

MSK_RES_ERR_INVALID_AIJ (1473)

\(a_{i,j}\) contains an invalid floating point value, i.e. a NaN or an infinite value.

MSK_RES_ERR_SYM_MAT_INVALID (1480)

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

MSK_RES_ERR_SYM_MAT_HUGE (1482)

A symmetric matrix contains a huge value in absolute size. The parameter MSK_DPAR_DATA_SYM_MAT_TOL_HUGE controls when an \(e_{i,j}\) is considered huge.

MSK_RES_ERR_INV_PROBLEM (1500)

Invalid problem type. Probably a nonconvex problem has been specified.

MSK_RES_ERR_MIXED_CONIC_AND_NL (1501)

The problem contains nonlinear terms conic constraints. The requested operation cannot be applied to this type of problem.

MSK_RES_ERR_GLOBAL_INV_CONIC_PROBLEM (1503)

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

MSK_RES_ERR_INV_OPTIMIZER (1550)

An invalid optimizer has been chosen for the problem. This means that the simplex or the conic optimizer is chosen to optimize a nonlinear problem.

MSK_RES_ERR_MIO_NO_OPTIMIZER (1551)

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

MSK_RES_ERR_NO_OPTIMIZER_VAR_TYPE (1552)

No optimizer is available for this class of optimization problems.

MSK_RES_ERR_FINAL_SOLUTION (1560)

An error occurred during the solution finalization.

MSK_RES_ERR_POSTSOLVE (1580)

An error occurred during the postsolve. Please contact MOSEK support.

MSK_RES_ERR_OVERFLOW (1590)

A computation produced an overflow i.e. a very large number.

MSK_RES_ERR_NO_BASIS_SOL (1600)

No basic solution is defined.

MSK_RES_ERR_BASIS_FACTOR (1610)

The factorization of the basis is invalid.

MSK_RES_ERR_BASIS_SINGULAR (1615)

The basis is singular and hence cannot be factored.

MSK_RES_ERR_FACTOR (1650)

An error occurred while factorizing a matrix.

MSK_RES_ERR_FEASREPAIR_CANNOT_RELAX (1700)

An optimization problem cannot be relaxed. This is the case e.g. for general nonlinear optimization problems.

MSK_RES_ERR_FEASREPAIR_SOLVING_RELAXED (1701)

The relaxed problem could not be solved to optimality. Please consult the log file for further details.

MSK_RES_ERR_FEASREPAIR_INCONSISTENT_BOUND (1702)

The upper bound is less than the lower bound for a variable or a constraint. Please correct this before running the feasibility repair.

MSK_RES_ERR_REPAIR_INVALID_PROBLEM (1710)

The feasibility repair does not support the specified problem type.

MSK_RES_ERR_REPAIR_OPTIMIZATION_FAILED (1711)

Computation the optimal relaxation failed. The cause may have been numerical problems.

MSK_RES_ERR_NAME_MAX_LEN (1750)

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

MSK_RES_ERR_NAME_IS_NULL (1760)

The name buffer is a NULL pointer.

MSK_RES_ERR_INVALID_COMPRESSION (1800)

Invalid compression type.

MSK_RES_ERR_INVALID_IOMODE (1801)

Invalid io mode.

MSK_RES_ERR_NO_PRIMAL_INFEAS_CER (2000)

A certificate of primal infeasibility is not available.

MSK_RES_ERR_NO_DUAL_INFEAS_CER (2001)

A certificate of infeasibility is not available.

MSK_RES_ERR_NO_SOLUTION_IN_CALLBACK (2500)

The required solution is not available.

MSK_RES_ERR_INV_MARKI (2501)

Invalid value in marki.

MSK_RES_ERR_INV_MARKJ (2502)

Invalid value in markj.

MSK_RES_ERR_INV_NUMI (2503)

Invalid numi.

MSK_RES_ERR_INV_NUMJ (2504)

Invalid numj.

MSK_RES_ERR_CANNOT_CLONE_NL (2505)

A task with a nonlinear function callback cannot be cloned.

MSK_RES_ERR_CANNOT_HANDLE_NL (2506)

A function cannot handle a task with nonlinear function callbacks.

MSK_RES_ERR_INVALID_ACCMODE (2520)

An invalid access mode is specified.

MSK_RES_ERR_TASK_INCOMPATIBLE (2560)

The Task file is incompatible with this platform. This results from reading a file on a 32 bit platform generated on a 64 bit platform.

MSK_RES_ERR_TASK_INVALID (2561)

The Task file is invalid.

MSK_RES_ERR_TASK_WRITE (2562)

Failed to write the task file.

MSK_RES_ERR_LU_MAX_NUM_TRIES (2800)

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

MSK_RES_ERR_INVALID_UTF8 (2900)

An invalid UTF8 string is encountered.

MSK_RES_ERR_INVALID_WCHAR (2901)

An invalid wchar string is encountered.

MSK_RES_ERR_NO_DUAL_FOR_ITG_SOL (2950)

No dual information is available for the integer solution.

MSK_RES_ERR_NO_SNX_FOR_BAS_SOL (2953)

\(s_n^x\) is not available for the basis solution.

MSK_RES_ERR_INTERNAL (3000)

An internal error occurred. Please report this problem.

MSK_RES_ERR_API_ARRAY_TOO_SMALL (3001)

An input array was too short.

MSK_RES_ERR_API_CB_CONNECT (3002)

Failed to connect a callback object.

MSK_RES_ERR_API_FATAL_ERROR (3005)

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

MSK_RES_ERR_API_INTERNAL (3999)

An internal fatal error occurred in an interface function.

MSK_RES_ERR_SEN_FORMAT (3050)

Syntax error in sensitivity analysis file.

MSK_RES_ERR_SEN_UNDEF_NAME (3051)

An undefined name was encountered in the sensitivity analysis file.

MSK_RES_ERR_SEN_INDEX_RANGE (3052)

Index out of range in the sensitivity analysis file.

MSK_RES_ERR_SEN_BOUND_INVALID_UP (3053)

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

MSK_RES_ERR_SEN_BOUND_INVALID_LO (3054)

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

MSK_RES_ERR_SEN_INDEX_INVALID (3055)

Invalid range given in the sensitivity file.

MSK_RES_ERR_SEN_INVALID_REGEXP (3056)

Syntax error in regexp or regexp longer than 1024.

MSK_RES_ERR_SEN_SOLUTION_STATUS (3057)

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

MSK_RES_ERR_SEN_NUMERICAL (3058)

Numerical difficulties encountered performing the sensitivity analysis.

MSK_RES_ERR_SEN_UNHANDLED_PROBLEM_TYPE (3080)

Sensitivity analysis cannot be performed for the specified problem. Sensitivity analysis is only possible for linear problems.

MSK_RES_ERR_UNB_STEP_SIZE (3100)

A step size in an optimizer was unexpectedly unbounded. For instance, if the step-size becomes unbounded in phase 1 of the simplex algorithm then an error occurs. Normally this will happen only if the problem is badly formulated. Please contact MOSEK support if this error occurs.

MSK_RES_ERR_IDENTICAL_TASKS (3101)

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

MSK_RES_ERR_AD_INVALID_CODELIST (3102)

The code list data was invalid.

MSK_RES_ERR_INTERNAL_TEST_FAILED (3500)

An internal unit test function failed.

MSK_RES_ERR_XML_INVALID_PROBLEM_TYPE (3600)

The problem type is not supported by the XML format.

MSK_RES_ERR_INVALID_AMPL_STUB (3700)

Invalid AMPL stub.

MSK_RES_ERR_INT64_TO_INT32_CAST (3800)

An 32 bit integer could not cast to a 64 bit integer.

MSK_RES_ERR_SIZE_LICENSE_NUMCORES (3900)

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

MSK_RES_ERR_INFEAS_UNDEFINED (3910)

The requested value is not defined for this solution type.

MSK_RES_ERR_NO_BARX_FOR_SOLUTION (3915)

There is no \(\barX\) available for the solution specified. In particular note there are no \(\barX\) defined for the basic and integer solutions.

MSK_RES_ERR_NO_BARS_FOR_SOLUTION (3916)

There is no \(\bar{s}\) available for the solution specified. In particular note there are no \(\bar{s}\) defined for the basic and integer solutions.

MSK_RES_ERR_BAR_VAR_DIM (3920)

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

MSK_RES_ERR_SYM_MAT_INVALID_ROW_INDEX (3940)

A row index specified for sparse symmetric matrix is invalid.

MSK_RES_ERR_SYM_MAT_INVALID_COL_INDEX (3941)

A column index specified for sparse symmetric matrix is invalid.

MSK_RES_ERR_SYM_MAT_NOT_LOWER_TRINGULAR (3942)

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

MSK_RES_ERR_SYM_MAT_INVALID_VALUE (3943)

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

MSK_RES_ERR_SYM_MAT_DUPLICATE (3944)

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

MSK_RES_ERR_INVALID_SYM_MAT_DIM (3950)

A sparse symmetric matrix of invalid dimension is specified.

MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_SYM_MAT (4000)

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

MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_CONES (4005)

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

MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_GENERAL_NL (4010)

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

MSK_RES_ERR_DUPLICATE_CONSTRAINT_NAMES (4500)

Two constraint names are identical.

MSK_RES_ERR_DUPLICATE_VARIABLE_NAMES (4501)

Two variable names are identical.

MSK_RES_ERR_DUPLICATE_BARVARIABLE_NAMES (4502)

Two barvariable names are identical.

MSK_RES_ERR_DUPLICATE_CONE_NAMES (4503)

Two cone names are identical.

MSK_RES_ERR_NON_UNIQUE_ARRAY (5000)

An array does not contain unique elements.

MSK_RES_ERR_ARGUMENT_IS_TOO_LARGE (5005)

The value of a function argument is too large.

MSK_RES_ERR_MIO_INTERNAL (5010)

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

MSK_RES_ERR_INVALID_PROBLEM_TYPE (6000)

An invalid problem type.

MSK_RES_ERR_UNHANDLED_SOLUTION_STATUS (6010)

Unhandled solution status.

MSK_RES_ERR_UPPER_TRIANGLE (6020)

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

MSK_RES_ERR_LAU_SINGULAR_MATRIX (7000)

A matrix is singular.

MSK_RES_ERR_LAU_NOT_POSITIVE_DEFINITE (7001)

A matrix is not positive definite.

MSK_RES_ERR_LAU_INVALID_LOWER_TRIANGULAR_MATRIX (7002)

An invalid lower triangular matrix.

MSK_RES_ERR_LAU_UNKNOWN (7005)

An unknown error.

MSK_RES_ERR_LAU_ARG_M (7010)

Invalid argument m.

MSK_RES_ERR_LAU_ARG_N (7011)

Invalid argument n.

MSK_RES_ERR_LAU_ARG_K (7012)

Invalid argument k.

MSK_RES_ERR_LAU_ARG_TRANSA (7015)

Invalid argument transa.

MSK_RES_ERR_LAU_ARG_TRANSB (7016)

Invalid argument transb.

MSK_RES_ERR_LAU_ARG_UPLO (7017)

Invalid argument uplo.

MSK_RES_ERR_LAU_ARG_TRANS (7018)

Invalid argument trans.

MSK_RES_ERR_LAU_INVALID_SPARSE_SYMMETRIC_MATRIX (7019)

An invalid sparse symmetric matrix is specfified. Note only the lower triangular part with no duplicates is specifed.

MSK_RES_ERR_CBF_PARSE (7100)

An error occurred while parsing an CBF file.

MSK_RES_ERR_CBF_OBJ_SENSE (7101)

An invalid objective sense is specified.

MSK_RES_ERR_CBF_NO_VARIABLES (7102)

No variables are specified.

MSK_RES_ERR_CBF_TOO_MANY_CONSTRAINTS (7103)

Too many constraints specified.

MSK_RES_ERR_CBF_TOO_MANY_VARIABLES (7104)

Too many variables specified.

MSK_RES_ERR_CBF_NO_VERSION_SPECIFIED (7105)

No version specified.

MSK_RES_ERR_CBF_SYNTAX (7106)

Invalid syntax.

MSK_RES_ERR_CBF_DUPLICATE_OBJ (7107)

Duplicate OBJ keyword.

MSK_RES_ERR_CBF_DUPLICATE_CON (7108)

Duplicate CON keyword.

MSK_RES_ERR_CBF_DUPLICATE_VAR (7109)

Duplicate VAR keyword.

MSK_RES_ERR_CBF_DUPLICATE_INT (7110)

Duplicate INT keyword.

MSK_RES_ERR_CBF_INVALID_VAR_TYPE (7111)

Invalid variable type.

MSK_RES_ERR_CBF_INVALID_CON_TYPE (7112)

Invalid constraint type.

MSK_RES_ERR_CBF_INVALID_DOMAIN_DIMENSION (7113)

Invalid domain dimension.

MSK_RES_ERR_CBF_DUPLICATE_OBJACOORD (7114)

Duplicate index in OBJCOORD.

MSK_RES_ERR_CBF_DUPLICATE_BCOORD (7115)

Duplicate index in BCOORD.

MSK_RES_ERR_CBF_DUPLICATE_ACOORD (7116)

Duplicate index in ACOORD.

MSK_RES_ERR_CBF_TOO_FEW_VARIABLES (7117)

Too few variables defined.

MSK_RES_ERR_CBF_TOO_FEW_CONSTRAINTS (7118)

Too few constraints defined.

MSK_RES_ERR_CBF_TOO_FEW_INTS (7119)

Too few ints are specified.

MSK_RES_ERR_CBF_TOO_MANY_INTS (7120)

Too many ints are specified.

MSK_RES_ERR_CBF_INVALID_INT_INDEX (7121)

Invalid INT index.

MSK_RES_ERR_CBF_UNSUPPORTED (7122)

Unsupported feature is present.

MSK_RES_ERR_CBF_DUPLICATE_PSDVAR (7123)

Duplicate PSDVAR keyword.

MSK_RES_ERR_CBF_INVALID_PSDVAR_DIMENSION (7124)

Invalid PSDVAR dimmension.

MSK_RES_ERR_CBF_TOO_FEW_PSDVAR (7125)

Too few variables defined.

MSK_RES_ERR_MIO_INVALID_ROOT_OPTIMIZER (7130)

An invalid root optimizer was selected for the problem type.

MSK_RES_ERR_MIO_INVALID_NODE_OPTIMIZER (7131)

An invalid node optimizer was selected for the problem type.

MSK_RES_ERR_TOCONIC_CONSTR_Q_NOT_PSD (7150)

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

MSK_RES_ERR_TOCONIC_CONSTRAINT_FX (7151)

The quadratic constraint is an equality, thus not convex.

MSK_RES_ERR_TOCONIC_CONSTRAINT_RA (7152)

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

MSK_RES_ERR_TOCONIC_CONSTR_NOT_CONIC (7153)

The constraint is not conic representable.

MSK_RES_ERR_TOCONIC_OBJECTIVE_NOT_PSD (7155)

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

MSK_RES_ERR_SERVER_CONNECT (8000)

Failed to connect to remote solver server. The server string or the port string were invalid, or the server did not accept connection.

MSK_RES_ERR_SERVER_PROTOCOL (8001)

Unexpected message or data from solver server.

MSK_RES_ERR_SERVER_STATUS (8002)

Server returned non-ok HTTP status code

MSK_RES_ERR_SERVER_TOKEN (8003)

The job ID specified is incorrect or invalid