13.3 Response codes

13.3.1 Termination

MSK_RES_OK

No error occurred.

MSK_RES_TRM_MAX_ITERATIONS

The optimizer terminated at the maximum number of iterations.

MSK_RES_TRM_MAX_TIME

The optimizer terminated at the maximum amount of time.

MSK_RES_TRM_OBJECTIVE_RANGE

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

MSK_RES_TRM_MIO_NEAR_REL_GAP

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

MSK_RES_TRM_MIO_NEAR_ABS_GAP

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

MSK_RES_TRM_MIO_NUM_RELAXS

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

MSK_RES_TRM_MIO_NUM_BRANCHES

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

MSK_RES_TRM_NUM_MAX_NUM_INT_SOLUTIONS

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

MSK_RES_TRM_STALL

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

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

MSK_RES_TRM_MAX_NUM_SETBACKS

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

The optimizer terminated due to numerical problems.

MSK_RES_TRM_INTERNAL

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

MSK_RES_TRM_INTERNAL_STOP

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

13.3.2 Warnings

MSK_RES_WRN_OPEN_PARAM_FILE

The parameter file could not be opened.

MSK_RES_WRN_LARGE_BOUND

A numerically large bound value is specified.

MSK_RES_WRN_LARGE_LO_BOUND

A numerically large lower bound value is specified.

MSK_RES_WRN_LARGE_UP_BOUND

A numerically large upper bound value is specified.

MSK_RES_WRN_LARGE_CON_FX

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

MSK_RES_WRN_LARGE_CJ

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

MSK_RES_WRN_LARGE_AIJ

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

One or more zero elements are specified in A.

MSK_RES_WRN_NAME_MAX_LEN

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

MSK_RES_WRN_SPAR_MAX_LEN

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

MSK_RES_WRN_MPS_SPLIT_RHS_VECTOR

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

MSK_RES_WRN_MPS_SPLIT_RAN_VECTOR

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

MSK_RES_WRN_MPS_SPLIT_BOU_VECTOR

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

MSK_RES_WRN_LP_OLD_QUAD_FORMAT

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

MSK_RES_WRN_LP_DROP_VARIABLE

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

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

MSK_RES_WRN_DROPPED_NZ_QOBJ

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

MSK_RES_WRN_IGNORE_INTEGER

Ignored integer constraints.

MSK_RES_WRN_NO_GLOBAL_OPTIMIZER

No global optimizer is available.

MSK_RES_WRN_MIO_INFEASIBLE_FINAL

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

MSK_RES_WRN_SOL_FILTER

Invalid solution filter is specified.

MSK_RES_WRN_UNDEF_SOL_FILE_NAME

Undefined name occurred in a solution.

MSK_RES_WRN_SOL_FILE_IGNORED_CON

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

MSK_RES_WRN_SOL_FILE_IGNORED_VAR

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

MSK_RES_WRN_TOO_FEW_BASIS_VARS

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

MSK_RES_WRN_TOO_MANY_BASIS_VARS

A basis with too many variables has been specified.

MSK_RES_WRN_NO_NONLINEAR_FUNCTION_WRITE

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

The license expires.

MSK_RES_WRN_LICENSE_SERVER

The license server is not responding.

MSK_RES_WRN_EMPTY_NAME

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

MSK_RES_WRN_USING_GENERIC_NAMES

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

The license expires.

MSK_RES_WRN_PARAM_NAME_DOU

The parameter name is not recognized as a double parameter.

MSK_RES_WRN_PARAM_NAME_INT

The parameter name is not recognized as a integer parameter.

MSK_RES_WRN_PARAM_NAME_STR

The parameter name is not recognized as a string parameter.

MSK_RES_WRN_PARAM_STR_VALUE

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

MSK_RES_WRN_PARAM_IGNORED_CMIO

A parameter was ignored by the conic mixed integer optimizer.

MSK_RES_WRN_ZEROS_IN_SPARSE_ROW

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

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

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

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

MSK_RES_WRN_PRESOLVE_OUTOFSPACE

The presolve is incomplete due to lack of space.

MSK_RES_WRN_WRITE_CHANGED_NAMES

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

MSK_RES_WRN_WRITE_DISCARDED_CFIX

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

MSK_RES_WRN_CONSTRUCT_SOLUTION_INFEAS

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

MSK_RES_WRN_CONSTRUCT_INVALID_SOL_ITG

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

MSK_RES_WRN_CONSTRUCT_NO_SOL_ITG

The construct solution requires an integer solution.

MSK_RES_WRN_DUPLICATE_CONSTRAINT_NAMES

Two constraint names are identical.

MSK_RES_WRN_DUPLICATE_VARIABLE_NAMES

Two variable names are identical.

MSK_RES_WRN_DUPLICATE_BARVARIABLE_NAMES

Two barvariable names are identical.

MSK_RES_WRN_DUPLICATE_CONE_NAMES

Two cone names are identical.

MSK_RES_WRN_ANA_LARGE_BOUNDS

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

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

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

MSK_RES_WRN_ANA_CLOSE_BOUNDS

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

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

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

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

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

MSK_RES_WRN_SYM_MAT_LARGE

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.

13.3.3 Errors

MSK_RES_ERR_LICENSE

Invalid license.

MSK_RES_ERR_LICENSE_EXPIRED

The license has expired.

MSK_RES_ERR_LICENSE_VERSION

The license is valid for another version of MOSEK.

MSK_RES_ERR_SIZE_LICENSE

The problem is bigger than the license.

MSK_RES_ERR_PROB_LICENSE

The software is not licensed to solve the problem.

MSK_RES_ERR_FILE_LICENSE

Invalid license file.

MSK_RES_ERR_MISSING_LICENSE_FILE

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

MSK_RES_ERR_SIZE_LICENSE_CON

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

MSK_RES_ERR_SIZE_LICENSE_VAR

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

MSK_RES_ERR_SIZE_LICENSE_INTVAR

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

MSK_RES_ERR_OPTIMIZER_LICENSE

The optimizer required is not licensed.

MSK_RES_ERR_FLEXLM

The FLEXlm license manager reported an error.

MSK_RES_ERR_LICENSE_SERVER

The license server is not responding.

MSK_RES_ERR_LICENSE_MAX

Maximum number of licenses is reached.

MSK_RES_ERR_LICENSE_MOSEKLM_DAEMON

The MOSEKLM license manager daemon is not up and running.

MSK_RES_ERR_LICENSE_FEATURE

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

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

MSK_RES_ERR_LICENSE_CANNOT_ALLOCATE

The license system cannot allocate the memory required.

MSK_RES_ERR_LICENSE_CANNOT_CONNECT

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

MSK_RES_ERR_LICENSE_INVALID_HOSTID

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

MSK_RES_ERR_LICENSE_SERVER_VERSION

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

MSK_RES_ERR_LICENSE_NO_SERVER_SUPPORT

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

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

A dynamic link library could not be opened.

MSK_RES_ERR_OLDER_DLL

The dynamic link library is older than the specified version.

MSK_RES_ERR_NEWER_DLL

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

Could not initialize a mutex.

MSK_RES_ERR_THREAD_MUTEX_LOCK

Could not lock a mutex.

MSK_RES_ERR_THREAD_MUTEX_UNLOCK

Could not unlock a mutex.

MSK_RES_ERR_THREAD_CREATE

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

Could not initialize a condition.

MSK_RES_ERR_UNKNOWN

Unknown error.

MSK_RES_ERR_SPACE

Out of space.

MSK_RES_ERR_FILE_OPEN

Error while opening a file.

MSK_RES_ERR_FILE_READ

File read error.

MSK_RES_ERR_FILE_WRITE

File write error.

MSK_RES_ERR_DATA_FILE_EXT

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

MSK_RES_ERR_INVALID_FILE_NAME

An invalid file name has been specified.

MSK_RES_ERR_INVALID_SOL_FILE_NAME

An invalid file name has been specified.

MSK_RES_ERR_END_OF_FILE

End of file reached.

MSK_RES_ERR_NULL_ENV

env is a NULL pointer.

MSK_RES_ERR_NULL_TASK

task is a NULL pointer.

MSK_RES_ERR_INVALID_STREAM

An invalid stream is referenced.

MSK_RES_ERR_NO_INIT_ENV

env is not initialized.

MSK_RES_ERR_INVALID_TASK

The task is invalid.

MSK_RES_ERR_NULL_POINTER

An argument to a function is unexpectedly a NULL pointer.

MSK_RES_ERR_LIVING_TASKS

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

An all blank name has been specified.

MSK_RES_ERR_DUP_NAME

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

MSK_RES_ERR_INVALID_OBJ_NAME

An invalid objective name is specified.

MSK_RES_ERR_INVALID_CON_NAME

An invalid constraint name is used.

MSK_RES_ERR_INVALID_VAR_NAME

An invalid variable name is used.

MSK_RES_ERR_INVALID_CONE_NAME

An invalid cone name is used.

MSK_RES_ERR_INVALID_BARVAR_NAME

An invalid symmetric matrix variable name is used.

MSK_RES_ERR_SPACE_LEAKING

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

MSK_RES_ERR_SPACE_NO_INFO

No available information about the space usage.

MSK_RES_ERR_READ_FORMAT

The specified format cannot be read.

MSK_RES_ERR_MPS_FILE

An error occurred while reading an MPS file.

MSK_RES_ERR_MPS_INV_FIELD

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

MSK_RES_ERR_MPS_INV_MARKER

An invalid marker has been specified in the MPS file.

MSK_RES_ERR_MPS_NULL_CON_NAME

An empty constraint name is used in an MPS file.

MSK_RES_ERR_MPS_NULL_VAR_NAME

An empty variable name is used in an MPS file.

MSK_RES_ERR_MPS_UNDEF_CON_NAME

An undefined constraint name occurred in an MPS file.

MSK_RES_ERR_MPS_UNDEF_VAR_NAME

An undefined variable name occurred in an MPS file.

MSK_RES_ERR_MPS_INV_CON_KEY

An invalid constraint key occurred in an MPS file.

MSK_RES_ERR_MPS_INV_BOUND_KEY

An invalid bound key occurred in an MPS file.

MSK_RES_ERR_MPS_INV_SEC_NAME

An invalid section name occurred in an MPS file.

MSK_RES_ERR_MPS_NO_OBJECTIVE

No objective is defined in an MPS file.

MSK_RES_ERR_MPS_SPLITTED_VAR

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

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

MSK_RES_ERR_MPS_MUL_QSEC

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

MSK_RES_ERR_MPS_MUL_QOBJ

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

MSK_RES_ERR_MPS_INV_SEC_ORDER

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

MSK_RES_ERR_MPS_MUL_CSEC

Multiple CSECTIONs are given the same name.

MSK_RES_ERR_MPS_CONE_TYPE

Invalid cone type specified in a CSECTION.

MSK_RES_ERR_MPS_CONE_OVERLAP

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

MSK_RES_ERR_MPS_CONE_REPEAT

A variable is repeated within the CSECTION.

MSK_RES_ERR_MPS_NON_SYMMETRIC_Q

A non symmetric matrice has been speciefied.

MSK_RES_ERR_MPS_DUPLICATE_Q_ELEMENT

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

MSK_RES_ERR_MPS_INVALID_OBJSENSE

An invalid objective sense is specified.

MSK_RES_ERR_MPS_TAB_IN_FIELD2

A tab char occurred in field 2.

MSK_RES_ERR_MPS_TAB_IN_FIELD3

A tab char occurred in field 3.

MSK_RES_ERR_MPS_TAB_IN_FIELD5

A tab char occurred in field 5.

MSK_RES_ERR_MPS_INVALID_OBJ_NAME

An invalid objective name is specified.

MSK_RES_ERR_LP_INCOMPATIBLE

The problem cannot be written to an LP formatted file.

MSK_RES_ERR_LP_EMPTY

The problem cannot be written to an LP formatted file.

MSK_RES_ERR_LP_DUP_SLACK_NAME

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

MSK_RES_ERR_WRITE_MPS_INVALID_NAME

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

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

MSK_RES_ERR_LP_FREE_CONSTRAINT

Free constraints cannot be written in LP file format.

MSK_RES_ERR_WRITE_OPF_INVALID_VAR_NAME

Empty variable names cannot be written to OPF files.

MSK_RES_ERR_LP_FILE_FORMAT

Syntax error in an LP file.

MSK_RES_ERR_WRITE_LP_FORMAT

Problem cannot be written as an LP file.

MSK_RES_ERR_READ_LP_MISSING_END_TAG

Syntax error in LP file. Possibly missing End tag.

MSK_RES_ERR_LP_FORMAT

Syntax error in an LP file.

MSK_RES_ERR_WRITE_LP_NON_UNIQUE_NAME

An auto-generated name is not unique.

MSK_RES_ERR_READ_LP_NONEXISTING_NAME

A variable never occurred in objective or constraints.

MSK_RES_ERR_LP_WRITE_CONIC_PROBLEM

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

MSK_RES_ERR_LP_WRITE_GECO_PROBLEM

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

MSK_RES_ERR_WRITING_FILE

An error occurred while writing file

MSK_RES_ERR_OPF_FORMAT

Syntax error in an OPF file

MSK_RES_ERR_OPF_NEW_VARIABLE

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

An invalid name occurred in a solution file.

MSK_RES_ERR_LP_INVALID_CON_NAME

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

MSK_RES_ERR_OPF_PREMATURE_EOF

Premature end of file in an OPF file.

MSK_RES_ERR_JSON_SYNTAX

Syntax error in an JSON data

MSK_RES_ERR_JSON_STRING

Error in JSON string.

MSK_RES_ERR_JSON_NUMBER_OVERFLOW

Invalid number entry - wrong type or value overflow.

MSK_RES_ERR_JSON_FORMAT

Error in an JSON Task file

MSK_RES_ERR_JSON_DATA

Inconsistent data in JSON Task file

MSK_RES_ERR_JSON_MISSING_DATA

Missing data section in JSON task file.

MSK_RES_ERR_ARGUMENT_LENNEQ

Incorrect length of arguments.

MSK_RES_ERR_ARGUMENT_TYPE

Incorrect argument type.

MSK_RES_ERR_NR_ARGUMENTS

Incorrect number of function arguments.

MSK_RES_ERR_IN_ARGUMENT

A function argument is incorrect.

MSK_RES_ERR_ARGUMENT_DIMENSION

A function argument is of incorrect dimension.

MSK_RES_ERR_INDEX_IS_TOO_SMALL

An index in an argument is too small.

MSK_RES_ERR_INDEX_IS_TOO_LARGE

An index in an argument is too large.

MSK_RES_ERR_PARAM_NAME

The parameter name is not correct.

MSK_RES_ERR_PARAM_NAME_DOU

The parameter name is not correct for a double parameter.

MSK_RES_ERR_PARAM_NAME_INT

The parameter name is not correct for an integer parameter.

MSK_RES_ERR_PARAM_NAME_STR

The parameter name is not correct for a string parameter.

MSK_RES_ERR_PARAM_INDEX

Parameter index is out of range.

MSK_RES_ERR_PARAM_IS_TOO_LARGE

The parameter value is too large.

MSK_RES_ERR_PARAM_IS_TOO_SMALL

The parameter value is too small.

MSK_RES_ERR_PARAM_VALUE_STR

The parameter value string is incorrect.

MSK_RES_ERR_PARAM_TYPE

The parameter type is invalid.

MSK_RES_ERR_INF_DOU_INDEX

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

MSK_RES_ERR_INF_INT_INDEX

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

MSK_RES_ERR_INDEX_ARR_IS_TOO_SMALL

An index in an array argument is too small.

MSK_RES_ERR_INDEX_ARR_IS_TOO_LARGE

An index in an array argument is too large.

MSK_RES_ERR_INF_LINT_INDEX

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

MSK_RES_ERR_ARG_IS_TOO_SMALL

The value of a argument is too small.

MSK_RES_ERR_ARG_IS_TOO_LARGE

The value of a argument is too small.

MSK_RES_ERR_INVALID_WHICHSOL

whichsol is invalid.

MSK_RES_ERR_INF_DOU_NAME

A double information name is invalid.

MSK_RES_ERR_INF_INT_NAME

An integer information name is invalid.

MSK_RES_ERR_INF_TYPE

The information type is invalid.

MSK_RES_ERR_INF_LINT_NAME

A long integer information name is invalid.

MSK_RES_ERR_INDEX

An index is out of range.

MSK_RES_ERR_WHICHSOL

The solution defined by whichsol does not exists.

MSK_RES_ERR_SOLITEM

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

whichitem is unacceptable.

MSK_RES_ERR_MAXNUMCON

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

MSK_RES_ERR_MAXNUMVAR

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

MSK_RES_ERR_MAXNUMBARVAR

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

MSK_RES_ERR_MAXNUMQNZ

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

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

MSK_RES_ERR_INVALID_IDX

A specified index is invalid.

MSK_RES_ERR_INVALID_MAX_NUM

A specified index is invalid.

MSK_RES_ERR_NUMCONLIM

Maximum number of constraints limit is exceeded.

MSK_RES_ERR_NUMVARLIM

Maximum number of variables limit is exceeded.

MSK_RES_ERR_TOO_SMALL_MAXNUMANZ

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

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

MSK_RES_ERR_MUL_A_ELEMENT

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

MSK_RES_ERR_INV_BK

Invalid bound key.

MSK_RES_ERR_INV_BKC

Invalid bound key is specified for a constraint.

MSK_RES_ERR_INV_BKX

An invalid bound key is specified for a variable.

MSK_RES_ERR_INV_VAR_TYPE

An invalid variable type is specified for a variable.

MSK_RES_ERR_SOLVER_PROBTYPE

Problem type does not match the chosen optimizer.

MSK_RES_ERR_OBJECTIVE_RANGE

Empty objective range.

MSK_RES_ERR_FIRST

Invalid first.

MSK_RES_ERR_LAST

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

MSK_RES_ERR_NEGATIVE_SURPLUS

Negative surplus.

MSK_RES_ERR_NEGATIVE_APPEND

Cannot append a negative number.

MSK_RES_ERR_UNDEF_SOLUTION

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

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

MSK_RES_ERR_INV_SKC

Invalid value in skc.

MSK_RES_ERR_INV_SKX

Invalid value in skx.

MSK_RES_ERR_INV_SKN

Invalid value in skn.

MSK_RES_ERR_INV_SK_STR

Invalid status key string encountered.

MSK_RES_ERR_INV_SK

Invalid status key code.

MSK_RES_ERR_INV_CONE_TYPE_STR

Invalid cone type string encountered.

MSK_RES_ERR_INV_CONE_TYPE

Invalid cone type code is encountered.

MSK_RES_ERR_INVALID_SURPLUS

Invalid surplus.

MSK_RES_ERR_INV_NAME_ITEM

An invalid name item code is used.

MSK_RES_ERR_PRO_ITEM

An invalid problem is used.

MSK_RES_ERR_INVALID_FORMAT_TYPE

Invalid format type.

MSK_RES_ERR_FIRSTI

Invalid firsti.

MSK_RES_ERR_LASTI

Invalid lasti.

MSK_RES_ERR_FIRSTJ

Invalid firstj.

MSK_RES_ERR_LASTJ

Invalid lastj.

MSK_RES_ERR_MAX_LEN_IS_TOO_SMALL

An maximum length that is too small has been specified.

MSK_RES_ERR_NONLINEAR_EQUALITY

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

MSK_RES_ERR_NONCONVEX

The optimization problem is nonconvex.

MSK_RES_ERR_NONLINEAR_RANGED

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

MSK_RES_ERR_CON_Q_NOT_PSD

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

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

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

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

An invalid permutation array is specified.

MSK_RES_ERR_CONE_INDEX

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

MSK_RES_ERR_CONE_SIZE

A cone with too few members is specified.

MSK_RES_ERR_CONE_OVERLAP

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

A variable is included multiple times in the cone.

MSK_RES_ERR_MAXNUMCONE

The value specified for maxnumcone is too small.

MSK_RES_ERR_CONE_TYPE

Invalid cone type specified.

MSK_RES_ERR_CONE_TYPE_STR

Invalid cone type specified.

MSK_RES_ERR_CONE_OVERLAP_APPEND

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

MSK_RES_ERR_REMOVE_CONE_VARIABLE

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

MSK_RES_ERR_SOL_FILE_INVALID_NUMBER

An invalid number is specified in a solution file.

MSK_RES_ERR_HUGE_C

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

MSK_RES_ERR_HUGE_AIJ

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

An element in the A matrix is specified twice.

MSK_RES_ERR_LOWER_BOUND_IS_A_NAN

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

MSK_RES_ERR_UPPER_BOUND_IS_A_NAN

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

MSK_RES_ERR_INFINITE_BOUND

A numerically huge bound value is specified.

MSK_RES_ERR_INV_QOBJ_SUBI

Invalid value in qosubi.

MSK_RES_ERR_INV_QOBJ_SUBJ

Invalid value in qosubj.

MSK_RES_ERR_INV_QOBJ_VAL

Invalid value in qoval.

MSK_RES_ERR_INV_QCON_SUBK

Invalid value in qcsubk.

MSK_RES_ERR_INV_QCON_SUBI

Invalid value in qcsubi.

MSK_RES_ERR_INV_QCON_SUBJ

Invalid value in qcsubj.

MSK_RES_ERR_INV_QCON_VAL

Invalid value in qcval.

MSK_RES_ERR_QCON_SUBI_TOO_SMALL

Invalid value in qcsubi.

MSK_RES_ERR_QCON_SUBI_TOO_LARGE

Invalid value in qcsubi.

MSK_RES_ERR_QOBJ_UPPER_TRIANGLE

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

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

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

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

MSK_RES_ERR_USER_FUNC_RET

An user function reported an error.

MSK_RES_ERR_USER_FUNC_RET_DATA

An user function returned invalid data.

MSK_RES_ERR_USER_NLO_FUNC

The user-defined nonlinear function reported an error.

MSK_RES_ERR_USER_NLO_EVAL

The user-defined nonlinear function reported an error.

MSK_RES_ERR_USER_NLO_EVAL_HESSUBI

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

MSK_RES_ERR_USER_NLO_EVAL_HESSUBJ

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

MSK_RES_ERR_INVALID_OBJECTIVE_SENSE

An invalid objective sense is specified.

MSK_RES_ERR_UNDEFINED_OBJECTIVE_SENSE

The objective sense has not been specified before the optimization.

MSK_RES_ERR_Y_IS_UNDEFINED

The solution item \(y\) is undefined.

MSK_RES_ERR_NAN_IN_DOUBLE_DATA

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

MSK_RES_ERR_NAN_IN_BLC

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

MSK_RES_ERR_NAN_IN_BUC

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

MSK_RES_ERR_NAN_IN_C

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

MSK_RES_ERR_NAN_IN_BLX

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

MSK_RES_ERR_NAN_IN_BUX

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

MSK_RES_ERR_INVALID_AIJ

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

MSK_RES_ERR_SYM_MAT_INVALID

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

MSK_RES_ERR_SYM_MAT_HUGE

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

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

MSK_RES_ERR_MIXED_CONIC_AND_NL

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

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

MSK_RES_ERR_INV_OPTIMIZER

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

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

MSK_RES_ERR_NO_OPTIMIZER_VAR_TYPE

No optimizer is available for this class of optimization problems.

MSK_RES_ERR_FINAL_SOLUTION

An error occurred during the solution finalization.

MSK_RES_ERR_POSTSOLVE

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

MSK_RES_ERR_OVERFLOW

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

MSK_RES_ERR_NO_BASIS_SOL

No basic solution is defined.

MSK_RES_ERR_BASIS_FACTOR

The factorization of the basis is invalid.

MSK_RES_ERR_BASIS_SINGULAR

The basis is singular and hence cannot be factored.

MSK_RES_ERR_FACTOR

An error occurred while factorizing a matrix.

MSK_RES_ERR_FEASREPAIR_CANNOT_RELAX

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

MSK_RES_ERR_FEASREPAIR_SOLVING_RELAXED

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

MSK_RES_ERR_FEASREPAIR_INCONSISTENT_BOUND

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

The feasibility repair does not support the specified problem type.

MSK_RES_ERR_REPAIR_OPTIMIZATION_FAILED

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

MSK_RES_ERR_NAME_MAX_LEN

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

MSK_RES_ERR_NAME_IS_NULL

The name buffer is a NULL pointer.

MSK_RES_ERR_INVALID_COMPRESSION

Invalid compression type.

MSK_RES_ERR_INVALID_IOMODE

Invalid io mode.

MSK_RES_ERR_NO_PRIMAL_INFEAS_CER

A certificate of primal infeasibility is not available.

MSK_RES_ERR_NO_DUAL_INFEAS_CER

A certificate of infeasibility is not available.

MSK_RES_ERR_NO_SOLUTION_IN_CALLBACK

The required solution is not available.

MSK_RES_ERR_INV_MARKI

Invalid value in marki.

MSK_RES_ERR_INV_MARKJ

Invalid value in markj.

MSK_RES_ERR_INV_NUMI

Invalid numi.

MSK_RES_ERR_INV_NUMJ

Invalid numj.

MSK_RES_ERR_CANNOT_CLONE_NL

A task with a nonlinear function callback cannot be cloned.

MSK_RES_ERR_CANNOT_HANDLE_NL

A function cannot handle a task with nonlinear function callbacks.

MSK_RES_ERR_INVALID_ACCMODE

An invalid access mode is specified.

MSK_RES_ERR_TASK_INCOMPATIBLE

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

The Task file is invalid.

MSK_RES_ERR_TASK_WRITE

Failed to write the task file.

MSK_RES_ERR_LU_MAX_NUM_TRIES

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

MSK_RES_ERR_INVALID_UTF8

An invalid UTF8 string is encountered.

MSK_RES_ERR_INVALID_WCHAR

An invalid wchar string is encountered.

MSK_RES_ERR_NO_DUAL_FOR_ITG_SOL

No dual information is available for the integer solution.

MSK_RES_ERR_NO_SNX_FOR_BAS_SOL

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

MSK_RES_ERR_INTERNAL

An internal error occurred. Please report this problem.

MSK_RES_ERR_API_ARRAY_TOO_SMALL

An input array was too short.

MSK_RES_ERR_API_CB_CONNECT

Failed to connect a callback object.

MSK_RES_ERR_API_FATAL_ERROR

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

MSK_RES_ERR_API_INTERNAL

An internal fatal error occurred in an interface function.

MSK_RES_ERR_SEN_FORMAT

Syntax error in sensitivity analysis file.

MSK_RES_ERR_SEN_UNDEF_NAME

An undefined name was encountered in the sensitivity analysis file.

MSK_RES_ERR_SEN_INDEX_RANGE

Index out of range in the sensitivity analysis file.

MSK_RES_ERR_SEN_BOUND_INVALID_UP

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

MSK_RES_ERR_SEN_BOUND_INVALID_LO

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

MSK_RES_ERR_SEN_INDEX_INVALID

Invalid range given in the sensitivity file.

MSK_RES_ERR_SEN_INVALID_REGEXP

Syntax error in regexp or regexp longer than 1024.

MSK_RES_ERR_SEN_SOLUTION_STATUS

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

MSK_RES_ERR_SEN_NUMERICAL

Numerical difficulties encountered performing the sensitivity analysis.

MSK_RES_ERR_SEN_UNHANDLED_PROBLEM_TYPE

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

MSK_RES_ERR_UNB_STEP_SIZE

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

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

MSK_RES_ERR_AD_INVALID_CODELIST

The code list data was invalid.

MSK_RES_ERR_INTERNAL_TEST_FAILED

An internal unit test function failed.

MSK_RES_ERR_XML_INVALID_PROBLEM_TYPE

The problem type is not supported by the XML format.

MSK_RES_ERR_INVALID_AMPL_STUB

Invalid AMPL stub.

MSK_RES_ERR_INT64_TO_INT32_CAST

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

MSK_RES_ERR_SIZE_LICENSE_NUMCORES

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

MSK_RES_ERR_INFEAS_UNDEFINED

The requested value is not defined for this solution type.

MSK_RES_ERR_NO_BARX_FOR_SOLUTION

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

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

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

MSK_RES_ERR_SYM_MAT_INVALID_ROW_INDEX

A row index specified for sparse symmetric matrix is invalid.

MSK_RES_ERR_SYM_MAT_INVALID_COL_INDEX

A column index specified for sparse symmetric matrix is invalid.

MSK_RES_ERR_SYM_MAT_NOT_LOWER_TRINGULAR

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

MSK_RES_ERR_SYM_MAT_INVALID_VALUE

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

MSK_RES_ERR_SYM_MAT_DUPLICATE

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

MSK_RES_ERR_INVALID_SYM_MAT_DIM

A sparse symmetric matrix of invalid dimension is specified.

MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_SYM_MAT

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

MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_CONES

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

MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_GENERAL_NL

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

MSK_RES_ERR_DUPLICATE_CONSTRAINT_NAMES

Two constraint names are identical.

MSK_RES_ERR_DUPLICATE_VARIABLE_NAMES

Two variable names are identical.

MSK_RES_ERR_DUPLICATE_BARVARIABLE_NAMES

Two barvariable names are identical.

MSK_RES_ERR_DUPLICATE_CONE_NAMES

Two cone names are identical.

MSK_RES_ERR_NON_UNIQUE_ARRAY

An array does not contain unique elements.

MSK_RES_ERR_ARGUMENT_IS_TOO_LARGE

The value of a function argument is too large.

MSK_RES_ERR_MIO_INTERNAL

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

MSK_RES_ERR_INVALID_PROBLEM_TYPE

An invalid problem type.

MSK_RES_ERR_UNHANDLED_SOLUTION_STATUS

Unhandled solution status.

MSK_RES_ERR_UPPER_TRIANGLE

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

MSK_RES_ERR_LAU_SINGULAR_MATRIX

A matrix is singular.

MSK_RES_ERR_LAU_NOT_POSITIVE_DEFINITE

A matrix is not positive definite.

MSK_RES_ERR_LAU_INVALID_LOWER_TRIANGULAR_MATRIX

An invalid lower triangular matrix.

MSK_RES_ERR_LAU_UNKNOWN

An unknown error.

MSK_RES_ERR_LAU_ARG_M

Invalid argument m.

MSK_RES_ERR_LAU_ARG_N

Invalid argument n.

MSK_RES_ERR_LAU_ARG_K

Invalid argument k.

MSK_RES_ERR_LAU_ARG_TRANSA

Invalid argument transa.

MSK_RES_ERR_LAU_ARG_TRANSB

Invalid argument transb.

MSK_RES_ERR_LAU_ARG_UPLO

Invalid argument uplo.

MSK_RES_ERR_LAU_ARG_TRANS

Invalid argument trans.

MSK_RES_ERR_LAU_INVALID_SPARSE_SYMMETRIC_MATRIX

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

MSK_RES_ERR_CBF_PARSE

An error occurred while parsing an CBF file.

MSK_RES_ERR_CBF_OBJ_SENSE

An invalid objective sense is specified.

MSK_RES_ERR_CBF_NO_VARIABLES

No variables are specified.

MSK_RES_ERR_CBF_TOO_MANY_CONSTRAINTS

Too many constraints specified.

MSK_RES_ERR_CBF_TOO_MANY_VARIABLES

Too many variables specified.

MSK_RES_ERR_CBF_NO_VERSION_SPECIFIED

No version specified.

MSK_RES_ERR_CBF_SYNTAX

Invalid syntax.

MSK_RES_ERR_CBF_DUPLICATE_OBJ

Duplicate OBJ keyword.

MSK_RES_ERR_CBF_DUPLICATE_CON

Duplicate CON keyword.

MSK_RES_ERR_CBF_DUPLICATE_VAR

Duplicate VAR keyword.

MSK_RES_ERR_CBF_DUPLICATE_INT

Duplicate INT keyword.

MSK_RES_ERR_CBF_INVALID_VAR_TYPE

Invalid variable type.

MSK_RES_ERR_CBF_INVALID_CON_TYPE

Invalid constraint type.

MSK_RES_ERR_CBF_INVALID_DOMAIN_DIMENSION

Invalid domain dimension.

MSK_RES_ERR_CBF_DUPLICATE_OBJACOORD

Duplicate index in OBJCOORD.

MSK_RES_ERR_CBF_DUPLICATE_BCOORD

Duplicate index in BCOORD.

MSK_RES_ERR_CBF_DUPLICATE_ACOORD

Duplicate index in ACOORD.

MSK_RES_ERR_CBF_TOO_FEW_VARIABLES

Too few variables defined.

MSK_RES_ERR_CBF_TOO_FEW_CONSTRAINTS

Too few constraints defined.

MSK_RES_ERR_CBF_TOO_FEW_INTS

Too few ints are specified.

MSK_RES_ERR_CBF_TOO_MANY_INTS

Too many ints are specified.

MSK_RES_ERR_CBF_INVALID_INT_INDEX

Invalid INT index.

MSK_RES_ERR_CBF_UNSUPPORTED

Unsupported feature is present.

MSK_RES_ERR_CBF_DUPLICATE_PSDVAR

Duplicate PSDVAR keyword.

MSK_RES_ERR_CBF_INVALID_PSDVAR_DIMENSION

Invalid PSDVAR dimmension.

MSK_RES_ERR_CBF_TOO_FEW_PSDVAR

Too few variables defined.

MSK_RES_ERR_MIO_INVALID_ROOT_OPTIMIZER

An invalid root optimizer was selected for the problem type.

MSK_RES_ERR_MIO_INVALID_NODE_OPTIMIZER

An invalid node optimizer was selected for the problem type.

MSK_RES_ERR_TOCONIC_CONSTR_Q_NOT_PSD

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

MSK_RES_ERR_TOCONIC_CONSTRAINT_FX

The quadratic constraint is an equality, thus not convex.

MSK_RES_ERR_TOCONIC_CONSTRAINT_RA

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

MSK_RES_ERR_TOCONIC_CONSTR_NOT_CONIC

The constraint is not conic representable.

MSK_RES_ERR_TOCONIC_OBJECTIVE_NOT_PSD

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

MSK_RES_ERR_SERVER_CONNECT

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

Unexpected message or data from solver server.

MSK_RES_ERR_SERVER_STATUS

Server returned non-ok HTTP status code

MSK_RES_ERR_SERVER_TOKEN

The job ID specified is incorrect or invalid