13.4 Response codes¶
Response codes include:
The numerical code (in brackets) identifies the response in error messages and in the log output.
- rescode¶
The enumeration type containing all response codes.
13.4.1 Termination¶
- "MSK_RES_OK" (0)¶
No error occurred.
- "MSK_RES_TRM_MAX_ITERATIONS" (100000)¶
The optimizer terminated at the maximum number of iterations.
- "MSK_RES_TRM_MAX_TIME" (100001)¶
The optimizer terminated at the maximum amount of time.
- "MSK_RES_TRM_OBJECTIVE_RANGE" (100002)¶
The optimizer terminated with an objective value outside the objective range.
- "MSK_RES_TRM_MIO_NUM_RELAXS" (100008)¶
The mixed-integer optimizer terminated as the maximum number of relaxations was reached.
- "MSK_RES_TRM_MIO_NUM_BRANCHES" (100009)¶
The mixed-integer optimizer terminated as the maximum number of branches was reached.
- "MSK_RES_TRM_NUM_MAX_NUM_INT_SOLUTIONS" (100015)¶
The mixed-integer optimizer terminated as the maximum number of feasible solutions was reached.
- "MSK_RES_TRM_STALL" (100006)¶
The optimizer is terminated due to slow progress.
Stalling means that numerical problems prevent the optimizer from making reasonable progress and that it makes 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 feasible or 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 the solution. If the solution status is 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.
- "MSK_RES_TRM_USER_CALLBACK" (100007)¶
The optimizer terminated due to the return of the user-defined callback function.
- "MSK_RES_TRM_MAX_NUM_SETBACKS" (100020)¶
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" (100025)¶
The optimizer terminated due to numerical problems.
- "MSK_RES_TRM_LOST_RACE" (100027)¶
Lost a race.
- "MSK_RES_TRM_INTERNAL" (100030)¶
The optimizer terminated due to some internal reason. Please contact MOSEK support.
- "MSK_RES_TRM_INTERNAL_STOP" (100031)¶
The optimizer terminated for internal reasons. Please contact MOSEK support.
13.4.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_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 invalid. For instance when writing an LP file the names must not contain blanks or start with a digit. Also remeber to give the objective function a name.
- "MSK_RES_WRN_INVALID_MPS_NAME" (504)¶
A name e.g. a row name is not a valid MPS name.
- "MSK_RES_WRN_INVALID_MPS_OBJ_NAME" (505)¶
The objective name is not a valid MPS name.
- "MSK_RES_WRN_LICENSE_FEATURE_EXPIRE" (509)¶
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_PRESOLVE_PRIMAL_PERTUBATIONS" (803)¶
The presolve perturbed the bounds of the primal problem. This is an indication that the problem is nearly infeasible.
- "MSK_RES_WRN_WRITE_CHANGED_NAMES" (830)¶
Some names were changed because they were invalid for the output file format.
- "MSK_RES_WRN_WRITE_DISCARDED_CFIX" (831)¶
The fixed objective term could not be converted to a variable and was discarded in the output file.
- "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_WRITE_LP_INVALID_VAR_NAMES" (854)¶
LP file will be written with generic variable names.
- "MSK_RES_WRN_WRITE_LP_DUPLICATE_VAR_NAMES" (855)¶
LP file will be written with generic variable names.
- "MSK_RES_WRN_WRITE_LP_INVALID_CON_NAMES" (856)¶
LP file will be written with generic constraint names.
- "MSK_RES_WRN_WRITE_LP_DUPLICATE_CON_NAMES" (857)¶
LP file will be written with generic constraint names.
- "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_NO_INFEASIBILITY_REPORT_WHEN_MATRIX_VARIABLES" (930)¶
An infeasibility report is not available when the problem contains matrix variables.
- "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.
- "MSK_RES_WRN_MODIFIED_DOUBLE_PARAMETER" (970)¶
A double parameter related to solver tolerances has a non-default value.
- "MSK_RES_WRN_LARGE_FIJ" (980)¶
A numerically large value is specified for an \(f_{i,j}\) element in \(F\). The parameter
MSK_DPAR_DATA_TOL_AIJ_LARGE
controls when an \(f_{i,j}\) is considered large.
13.4.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_LICENSE_OLD_SERVER_VERSION" (1003)¶
The version of the FlexLM license server is too old. You should upgrade the license server to one matching this version of MOSEK. It will support this and all older versions of MOSEK.
This error can appear if the client was updated to a new version which includes an upgrade of the licensing module, making it incompatible with a much older license server.
- "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 find license file or a token server. See the MOSEK licensing 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 oneSERVER
line.
- "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.
- "MSK_RES_ERR_LINK_FILE_DLL" (1040)¶
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 aNULL
pointer.
- "MSK_RES_ERR_NULL_TASK" (1061)¶
task
is aNULL
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_READ_GZIP" (1067)¶
Error encountered in GZIP stream.
- "MSK_RES_ERR_READ_ZSTD" (1068)¶
Error encountered in ZSTD stream.
- "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_FORMAT_STRING" (1072)¶
The name format string is invalid.
- "MSK_RES_ERR_SPARSITY_SPECIFICATION" (1073)¶
The sparsity included an index that was out of bounds of the shape.
- "MSK_RES_ERR_MISMATCHING_DIMENSION" (1074)¶
Mismatching dimensions specified in arguments
- "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_DIMENSION_SPECIFICATION" (1082)¶
Invalid dimension specification
- "MSK_RES_ERR_AXIS_NAME_SPECIFICATION" (1083)¶
Invalid axis names specification
- "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_INVALID_CON_KEY" (1107)¶
An invalid constraint key occurred in an MPS file.
- "MSK_RES_ERR_MPS_INVALID_BOUND_KEY" (1108)¶
An invalid bound key occurred in an MPS file.
- "MSK_RES_ERR_MPS_INVALID_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
QSECTION
s 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
CSECTION
s 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 matrix 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_MPS_INVALID_KEY" (1129)¶
An invalid indicator key occurred in an MPS file.
- "MSK_RES_ERR_MPS_INVALID_INDICATOR_CONSTRAINT" (1130)¶
An invalid indicator constraint is used. It must not be a ranged constraint.
- "MSK_RES_ERR_MPS_INVALID_INDICATOR_VARIABLE" (1131)¶
An invalid indicator variable is specfied. It must be a binary variable.
- "MSK_RES_ERR_MPS_INVALID_INDICATOR_VALUE" (1132)¶
An invalid indicator value is specfied. It must be either 0 or 1.
- "MSK_RES_ERR_MPS_INVALID_INDICATOR_QUADRATIC_CONSTRAINT" (1133)¶
A quadratic constraint can be be an indicator constraint.
- "MSK_RES_ERR_OPF_SYNTAX" (1134)¶
Syntax error in an OPF file
- "MSK_RES_ERR_OPF_PREMATURE_EOF" (1136)¶
Premature end of file in an OPF file.
- "MSK_RES_ERR_OPF_MISMATCHED_TAG" (1137)¶
Mismatched end-tag in OPF file
- "MSK_RES_ERR_OPF_DUPLICATE_BOUND" (1138)¶
Either upper or lower bound was specified twice in OPF file
- "MSK_RES_ERR_OPF_DUPLICATE_CONSTRAINT_NAME" (1139)¶
Duplicate constraint name in OPF File
- "MSK_RES_ERR_OPF_INVALID_CONE_TYPE" (1140)¶
Invalid cone type in OPF File
- "MSK_RES_ERR_OPF_INCORRECT_TAG_PARAM" (1141)¶
Invalid number of parameters in start-tag in OPF File
- "MSK_RES_ERR_OPF_INVALID_TAG" (1142)¶
Invalid start-tag in OPF File
- "MSK_RES_ERR_OPF_DUPLICATE_CONE_ENTRY" (1143)¶
Same variable appears in multiple cones in OPF File
- "MSK_RES_ERR_OPF_TOO_LARGE" (1144)¶
The problem is too large to be correctly loaded
- "MSK_RES_ERR_OPF_DUAL_INTEGER_SOLUTION" (1146)¶
Dual solution values are not allowed in OPF File
- "MSK_RES_ERR_LP_EMPTY" (1151)¶
The problem cannot be written to an LP formatted file.
- "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_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_LP_EXPECTED_NUMBER" (1158)¶
Expected a number in LP file
- "MSK_RES_ERR_READ_LP_MISSING_END_TAG" (1159)¶
Syntax error in LP file. Possibly missing End tag.
- "MSK_RES_ERR_LP_INDICATOR_VAR" (1160)¶
An indicator variable was not declared binary
- "MSK_RES_ERR_LP_EXPECTED_OBJECTIVE" (1161)¶
Expected an objective section in LP file
- "MSK_RES_ERR_LP_EXPECTED_CONSTRAINT_RELATION" (1162)¶
Expected constraint relation
- "MSK_RES_ERR_LP_AMBIGUOUS_CONSTRAINT_BOUND" (1163)¶
Constraint has ambiguous or invalid bound
- "MSK_RES_ERR_LP_DUPLICATE_SECTION" (1164)¶
Duplicate section
- "MSK_RES_ERR_READ_LP_DELAYED_ROWS_NOT_SUPPORTED" (1165)¶
Duplicate section
- "MSK_RES_ERR_WRITING_FILE" (1166)¶
An error occurred while writing file
- "MSK_RES_ERR_INVALID_NAME_IN_SOL_FILE" (1170)¶
An invalid name occurred in a solution 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_PTF_INCOMPATIBILITY" (1181)¶
Incompatible item
- "MSK_RES_ERR_PTF_UNDEFINED_ITEM" (1182)¶
Undefined symbol referenced
- "MSK_RES_ERR_PTF_INCONSISTENCY" (1183)¶
Inconsistent size of item
- "MSK_RES_ERR_PTF_FORMAT" (1184)¶
Syntax error in an PTF file
- "MSK_RES_ERR_ARGUMENT_LENNEQ" (1197)¶
Incorrect length of arguments.
- "MSK_RES_ERR_ARGUMENT_TYPE" (1198)¶
Incorrect argument type.
- "MSK_RES_ERR_NUM_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_SHAPE_IS_TOO_LARGE" (1202)¶
The size of the n-dimensional shape is too large.
- "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_INDEX_IS_NOT_UNIQUE" (1205)¶
An index in an argument is is unique.
- "MSK_RES_ERR_PARAM_NAME" (1206)¶
The parameter name is not correct.
- "MSK_RES_ERR_PARAM_NAME_DOU" (1207)¶
The parameter name is not correct for a double parameter.
- "MSK_RES_ERR_PARAM_NAME_INT" (1208)¶
The parameter name is not correct for an integer parameter.
- "MSK_RES_ERR_PARAM_NAME_STR" (1209)¶
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 large.
- "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_UNALLOWED_WHICHSOL" (1248)¶
The value od
whichsol
is not allowed.
- "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 thanaptrb[j]
for somej
.
- "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_INV_RESCODE" (1261)¶
Invalid response code.
- "MSK_RES_ERR_INV_IINF" (1262)¶
Invalid integer information item.
- "MSK_RES_ERR_INV_LIINF" (1263)¶
Invalid long integer information item.
- "MSK_RES_ERR_INV_DINF" (1264)¶
Invalid double information item.
- "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)¶
A 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 incorrect number of 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_APPENDING_TOO_BIG_CONE" (1311)¶
Trying to append a too big cone.
- "MSK_RES_ERR_CONE_PARAMETER" (1320)¶
An invalid cone parameter.
- "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" (1420)¶
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_TOO_SMALL_A_TRUNCATION_VALUE" (1421)¶
A too small value for the A trucation value is specified.
- "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_INF_IN_DOUBLE_DATA" (1451)¶
An infinite 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_INVALID_CFIX" (1469)¶
An invalid fixed term in the objective is speficied.
- "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_INVALID_CJ" (1474)¶
\(c_{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.
- "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_FIRST" (1570)¶
Invalid
first
.
- "MSK_RES_ERR_LAST" (1571)¶
Invalid index
last
. A given index was out of expected range.
- "MSK_RES_ERR_SLICE_SIZE" (1572)¶
Invalid slice size specified.
- "MSK_RES_ERR_NEGATIVE_SURPLUS" (1573)¶
Negative surplus.
- "MSK_RES_ERR_NEGATIVE_APPEND" (1578)¶
Cannot append a negative number.
- "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.
- "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_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)¶
Not in use.
- "MSK_RES_ERR_INT64_TO_INT32_CAST" (3800)¶
A 64 bit integer could not be cast to a 32 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 be 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 floating point 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_CFIX" (4001)¶
The file format does not support a problem with nonzero fixed term in c.
- "MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_RANGED_CONSTRAINTS" (4002)¶
The file format does not support a problem with ranged constraints.
- "MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_FREE_CONSTRAINTS" (4003)¶
The file format does not support a problem with free constraints.
- "MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_CONES" (4005)¶
The file format does not support a problem with the simple cones (deprecated).
- "MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_QUADRATIC_TERMS" (4006)¶
The file format does not support a problem with quadratic terms.
- "MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_NONLINEAR" (4010)¶
The file format does not support a problem with nonlinear terms.
- "MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_DISJUNCTIVE_CONSTRAINTS" (4011)¶
The file format does not support a problem with disjunctive constraints.
- "MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_AFFINE_CONIC_CONSTRAINTS" (4012)¶
The file format does not support a problem with affine conic constraints.
- "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_DUPLICATE_DOMAIN_NAMES" (4504)¶
Two domain names are identical.
- "MSK_RES_ERR_DUPLICATE_DJC_NAMES" (4505)¶
Two disjunctive constraint names are identical.
- "MSK_RES_ERR_NON_UNIQUE_ARRAY" (5000)¶
An array does not contain unique elements.
- "MSK_RES_ERR_ARGUMENT_IS_TOO_SMALL" (5004)¶
The value of a function argument is too small.
- "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" (7110)¶
Duplicate VAR keyword.
- "MSK_RES_ERR_CBF_DUPLICATE_INT" (7111)¶
Duplicate INT keyword.
- "MSK_RES_ERR_CBF_INVALID_VAR_TYPE" (7112)¶
Invalid variable type.
- "MSK_RES_ERR_CBF_INVALID_CON_TYPE" (7113)¶
Invalid constraint type.
- "MSK_RES_ERR_CBF_INVALID_DOMAIN_DIMENSION" (7114)¶
Invalid domain dimension.
- "MSK_RES_ERR_CBF_DUPLICATE_OBJACOORD" (7115)¶
Duplicate index in OBJCOORD.
- "MSK_RES_ERR_CBF_DUPLICATE_BCOORD" (7116)¶
Duplicate index in BCOORD.
- "MSK_RES_ERR_CBF_DUPLICATE_ACOORD" (7117)¶
Duplicate index in ACOORD.
- "MSK_RES_ERR_CBF_TOO_FEW_VARIABLES" (7118)¶
Too few variables defined.
- "MSK_RES_ERR_CBF_TOO_FEW_CONSTRAINTS" (7119)¶
Too few constraints defined.
- "MSK_RES_ERR_CBF_TOO_FEW_INTS" (7120)¶
Too few ints are specified.
- "MSK_RES_ERR_CBF_TOO_MANY_INTS" (7121)¶
Too many ints are specified.
- "MSK_RES_ERR_CBF_INVALID_INT_INDEX" (7122)¶
Invalid INT index.
- "MSK_RES_ERR_CBF_UNSUPPORTED" (7123)¶
Unsupported feature is present.
- "MSK_RES_ERR_CBF_DUPLICATE_PSDVAR" (7124)¶
Duplicate PSDVAR keyword.
- "MSK_RES_ERR_CBF_INVALID_PSDVAR_DIMENSION" (7125)¶
Invalid PSDVAR dimension.
- "MSK_RES_ERR_CBF_TOO_FEW_PSDVAR" (7126)¶
Too few variables defined.
- "MSK_RES_ERR_CBF_INVALID_EXP_DIMENSION" (7127)¶
Invalid dimension of a exponential cone.
- "MSK_RES_ERR_CBF_DUPLICATE_POW_CONES" (7130)¶
Multiple POWCONES specified.
- "MSK_RES_ERR_CBF_DUPLICATE_POW_STAR_CONES" (7131)¶
Multiple POW*CONES specified.
- "MSK_RES_ERR_CBF_INVALID_POWER" (7132)¶
Invalid power specified.
- "MSK_RES_ERR_CBF_POWER_CONE_IS_TOO_LONG" (7133)¶
Power cone is too long.
- "MSK_RES_ERR_CBF_INVALID_POWER_CONE_INDEX" (7134)¶
Invalid power cone index.
- "MSK_RES_ERR_CBF_INVALID_POWER_STAR_CONE_INDEX" (7135)¶
Invalid power star cone index.
- "MSK_RES_ERR_CBF_UNHANDLED_POWER_CONE_TYPE" (7136)¶
An unhandled power cone type.
- "MSK_RES_ERR_CBF_UNHANDLED_POWER_STAR_CONE_TYPE" (7137)¶
An unhandled power star cone type.
- "MSK_RES_ERR_CBF_POWER_CONE_MISMATCH" (7138)¶
The power cone does not match with it definition.
- "MSK_RES_ERR_CBF_POWER_STAR_CONE_MISMATCH" (7139)¶
The power star cone does not match with it definition.
- "MSK_RES_ERR_CBF_INVALID_NUMBER_OF_CONES" (7140)¶
Invalid number of cones.
- "MSK_RES_ERR_CBF_INVALID_DIMENSION_OF_CONES" (7141)¶
Invalid number of cones.
- "MSK_RES_ERR_CBF_INVALID_NUM_OBJACOORD" (7150)¶
Invalid number of OBJACOORD.
- "MSK_RES_ERR_CBF_INVALID_NUM_OBJFCOORD" (7151)¶
Invalid number of OBJFCOORD.
- "MSK_RES_ERR_CBF_INVALID_NUM_ACOORD" (7152)¶
Invalid number of ACOORD.
- "MSK_RES_ERR_CBF_INVALID_NUM_BCOORD" (7153)¶
Invalid number of BCOORD.
- "MSK_RES_ERR_CBF_INVALID_NUM_FCOORD" (7155)¶
Invalid number of FCOORD.
- "MSK_RES_ERR_CBF_INVALID_NUM_HCOORD" (7156)¶
Invalid number of HCOORD.
- "MSK_RES_ERR_CBF_INVALID_NUM_DCOORD" (7157)¶
Invalid number of DCOORD.
- "MSK_RES_ERR_CBF_EXPECTED_A_KEYWORD" (7158)¶
Expected a key word.
- "MSK_RES_ERR_CBF_INVALID_NUM_PSDCON" (7200)¶
Invalid number of PSDCON.
- "MSK_RES_ERR_CBF_DUPLICATE_PSDCON" (7201)¶
Duplicate CON keyword.
- "MSK_RES_ERR_CBF_INVALID_DIMENSION_OF_PSDCON" (7202)¶
Invalid PSDCON dimension.
- "MSK_RES_ERR_CBF_INVALID_PSDCON_INDEX" (7203)¶
Invalid PSDCON index.
- "MSK_RES_ERR_CBF_INVALID_PSDCON_VARIABLE_INDEX" (7204)¶
Invalid PSDCON index.
- "MSK_RES_ERR_CBF_INVALID_PSDCON_BLOCK_INDEX" (7205)¶
Invalid PSDCON index.
- "MSK_RES_ERR_CBF_UNSUPPORTED_CHANGE" (7210)¶
The CHANGE section is not supported.
- "MSK_RES_ERR_MIO_INVALID_ROOT_OPTIMIZER" (7700)¶
An invalid root optimizer was selected for the problem type.
- "MSK_RES_ERR_MIO_INVALID_NODE_OPTIMIZER" (7701)¶
An invalid node optimizer was selected for the problem type.
- "MSK_RES_ERR_MPS_WRITE_CPLEX_INVALID_CONE_TYPE" (7750)¶
An invalid cone type occurs when writing a CPLEX formatted MPS file.
- "MSK_RES_ERR_TOCONIC_CONSTR_Q_NOT_PSD" (7800)¶
The matrix defining the quadratric part of constraint is not positive semidefinite.
- "MSK_RES_ERR_TOCONIC_CONSTRAINT_FX" (7801)¶
The quadratic constraint is an equality, thus not convex.
- "MSK_RES_ERR_TOCONIC_CONSTRAINT_RA" (7802)¶
The quadratic constraint has finite lower and upper bound, and therefore it is not convex.
- "MSK_RES_ERR_TOCONIC_CONSTR_NOT_CONIC" (7803)¶
The constraint is not conic representable.
- "MSK_RES_ERR_TOCONIC_OBJECTIVE_NOT_PSD" (7804)¶
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
- "MSK_RES_ERR_SERVER_ADDRESS" (8004)¶
Invalid address string
- "MSK_RES_ERR_SERVER_CERTIFICATE" (8005)¶
Invalid TLS certificate format or path
- "MSK_RES_ERR_SERVER_TLS_CLIENT" (8006)¶
Failed to create TLS cleint
- "MSK_RES_ERR_SERVER_ACCESS_TOKEN" (8007)¶
Invalid access token
- "MSK_RES_ERR_SERVER_PROBLEM_SIZE" (8008)¶
The size of the problem exceeds the dimensions permitted by the instance of the OptServer where it was run.
- "MSK_RES_ERR_DUPLICATE_INDEX_IN_A_SPARSE_MATRIX" (20050)¶
An element in a sparse matrix is specified twice.
- "MSK_RES_ERR_DUPLICATE_INDEX_IN_AFEIDX_LIST" (20060)¶
An index is specified twice in an affine expression list.
- "MSK_RES_ERR_DUPLICATE_FIJ" (20100)¶
An element in the F matrix is specified twice.
- "MSK_RES_ERR_INVALID_FIJ" (20101)¶
\(f_{i,j}\) contains an invalid floating point value, i.e. a
NaN
or an infinite value.
- "MSK_RES_ERR_HUGE_FIJ" (20102)¶
A numerically huge value is specified for an \(f_{i,j}\) element in \(F\). The parameter
MSK_DPAR_DATA_TOL_AIJ_HUGE
controls when an \(f_{i,j}\) is considered huge.
- "MSK_RES_ERR_INVALID_G" (20103)¶
\(g\) contains an invalid floating point value, i.e. a
NaN
or an infinite value.
- "MSK_RES_ERR_INVALID_B" (20150)¶
\(b\) contains an invalid floating point value, i.e. a
NaN
or an infinite value.
- "MSK_RES_ERR_DOMAIN_INVALID_INDEX" (20400)¶
A domain index is invalid.
- "MSK_RES_ERR_DOMAIN_DIMENSION" (20401)¶
A domain dimension is invalid.
- "MSK_RES_ERR_DOMAIN_DIMENSION_PSD" (20402)¶
A PSD domain dimension is invalid.
- "MSK_RES_ERR_NOT_POWER_DOMAIN" (20403)¶
The function is only applicable to primal and dual power cone domains.
- "MSK_RES_ERR_DOMAIN_POWER_INVALID_ALPHA" (20404)¶
Alpha contains an invalid floating point value, i.e. a
NaN
or an infinite value.
- "MSK_RES_ERR_DOMAIN_POWER_NEGATIVE_ALPHA" (20405)¶
Alpha contains a negative value or zero.
- "MSK_RES_ERR_DOMAIN_POWER_NLEFT" (20406)¶
The value of \(n_\mathrm{left}\) is not in \([1, n-1]\) where \(n\) is the dimension.
- "MSK_RES_ERR_AFE_INVALID_INDEX" (20500)¶
An affine expression index is invalid.
- "MSK_RES_ERR_ACC_INVALID_INDEX" (20600)¶
A affine conic constraint index is invalid.
- "MSK_RES_ERR_ACC_INVALID_ENTRY_INDEX" (20601)¶
The index of an element in an affine conic constraint is invalid.
- "MSK_RES_ERR_ACC_AFE_DOMAIN_MISMATCH" (20602)¶
There is a mismatch between between the number of affine expressions and total dimension of the domain(s).
- "MSK_RES_ERR_DJC_INVALID_INDEX" (20700)¶
A disjunctive constraint index is invalid.
- "MSK_RES_ERR_DJC_UNSUPPORTED_DOMAIN_TYPE" (20701)¶
An unsupported domain type has been used in a disjunctive constraint.
- "MSK_RES_ERR_DJC_AFE_DOMAIN_MISMATCH" (20702)¶
There is a mismatch between the number of affine expressions and total dimension of the domain(s).
- "MSK_RES_ERR_DJC_INVALID_TERM_SIZE" (20703)¶
A termize is invalid.
- "MSK_RES_ERR_DJC_DOMAIN_TERMSIZE_MISMATCH" (20704)¶
There is a mismatch between the number of domains and the term sizes.
- "MSK_RES_ERR_DJC_TOTAL_NUM_TERMS_MISMATCH" (20705)¶
There total number of terms in all domains does not match.
- "MSK_RES_ERR_UNDEF_SOLUTION" (22000)¶
MOSEK has the following solution types:
an interior-point solution,
a 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_NO_DOTY" (22010)¶
No doty is available