18 Interface changes

The section shows interface-specific changes to the MOSEK Optimization Toolbox for MATLAB in version 9.3 compared to version 8. See the release notes for general changes and new features of the MOSEK Optimization Suite.

18.1 Backwards compatibility

  • Parameters. Users who set parameters to tune the performance and numerical properties of the solver (termination criteria, tolerances, solving primal or dual, presolve etc.) are recommended to reevaluate such tuning. It may be that other, or default, parameter settings will be more beneficial in the current version. The hints in Sec. 8 (Debugging Tutorials) may be useful for some cases.

  • Remove all Near solution statuses i.e. MSK_SOL_STA_NEAR_OPTIMAL, MSK_SOL_STA_NEAR_PRIM_INFEAS_CER, etc. See Sec. 13.3.3 (Adjusting optimality criteria).

  • All functions related to the general nonlinear optimizer and Scopt have been removed. See Sec. 15.8 (Nonlinear interfaces (obsolete)).

18.2 New API

Introduced a possibility to specify affine conic constraints i.e. conic constraints of the form \(Fx+g\in K\) directly. See Sec. 6.7 (Affine conic constraints (new)) and Sec. 12.5 (Affine Conic Constraints) for details.

18.3 Parameters

Added

Removed

  • MSK_DPAR_DATA_TOL_AIJ

  • MSK_DPAR_INTPNT_NL_MERIT_BAL

  • MSK_DPAR_INTPNT_NL_TOL_DFEAS

  • MSK_DPAR_INTPNT_NL_TOL_MU_RED

  • MSK_DPAR_INTPNT_NL_TOL_NEAR_REL

  • MSK_DPAR_INTPNT_NL_TOL_PFEAS

  • MSK_DPAR_INTPNT_NL_TOL_REL_GAP

  • MSK_DPAR_INTPNT_NL_TOL_REL_STEP

  • MSK_DPAR_MIO_DISABLE_TERM_TIME

  • MSK_DPAR_MIO_NEAR_TOL_ABS_GAP

  • MSK_DPAR_MIO_NEAR_TOL_REL_GAP

  • MSK_IPAR_MIO_CONSTRUCT_SOL

  • MSK_IPAR_MIO_MT_USER_CB

  • MSK_IPAR_OPF_MAX_TERMS_PER_LINE

  • MSK_IPAR_READ_DATA_COMPRESSED

  • MSK_IPAR_READ_DATA_FORMAT

  • MSK_IPAR_WRITE_DATA_COMPRESSED

  • MSK_IPAR_WRITE_DATA_FORMAT

18.4 Constants

Added

Removed

  • MSK_DATAFORMAT_XML

  • MSK_DINFITEM_MIO_HEURISTIC_TIME

  • MSK_DINFITEM_MIO_OPTIMIZER_TIME

  • MSK_IINFITEM_MIO_CONSTRUCT_NUM_ROUNDINGS

  • MSK_IINFITEM_MIO_INITIAL_SOLUTION

  • MSK_IINFITEM_MIO_NEAR_ABSGAP_SATISFIED

  • MSK_IINFITEM_MIO_NEAR_RELGAP_SATISFIED

  • MSK_LIINFITEM_MIO_SIM_MAXITER_SETBACKS

  • MSK_MIONODESELTYPE_HYBRID

  • MSK_MIONODESELTYPE_WORST

  • MSK_PROBLEMTYPE_GECO

  • MSK_PROSTA_NEAR_DUAL_FEAS

  • MSK_PROSTA_NEAR_PRIM_AND_DUAL_FEAS

  • MSK_PROSTA_NEAR_PRIM_FEAS

  • MSK_SENSITIVITYTYPE_OPTIMAL_PARTITION

  • MSK_SOLSTA_NEAR_DUAL_FEAS

  • MSK_SOLSTA_NEAR_DUAL_INFEAS_CER

  • MSK_SOLSTA_NEAR_INTEGER_OPTIMAL

  • MSK_SOLSTA_NEAR_OPTIMAL

  • MSK_SOLSTA_NEAR_PRIM_AND_DUAL_FEAS

  • MSK_SOLSTA_NEAR_PRIM_FEAS

  • MSK_SOLSTA_NEAR_PRIM_INFEAS_CER

18.5 Response Codes

Added

Removed

  • MSK_RES_ERR_CANNOT_CLONE_NL

  • MSK_RES_ERR_CANNOT_HANDLE_NL

  • MSK_RES_ERR_INVALID_ACCMODE

  • MSK_RES_ERR_INVALID_FILE_FORMAT_FOR_GENERAL_NL

  • MSK_RES_ERR_NONLINEAR_FUNCTIONS_NOT_ALLOWED

  • MSK_RES_ERR_NR_ARGUMENTS

  • MSK_RES_ERR_OPEN_DL

  • MSK_RES_ERR_USER_FUNC_RET

  • MSK_RES_ERR_USER_FUNC_RET_DATA

  • MSK_RES_ERR_USER_NLO_EVAL

  • MSK_RES_ERR_USER_NLO_EVAL_HESSUBI

  • MSK_RES_ERR_USER_NLO_EVAL_HESSUBJ

  • MSK_RES_ERR_USER_NLO_FUNC

  • MSK_RES_TRM_MIO_NEAR_ABS_GAP

  • MSK_RES_TRM_MIO_NEAR_REL_GAP

  • MSK_RES_WRN_CONSTRUCT_INVALID_SOL_ITG

  • MSK_RES_WRN_CONSTRUCT_NO_SOL_ITG

  • MSK_RES_WRN_CONSTRUCT_SOLUTION_INFEAS

  • MSK_RES_WRN_NO_NONLINEAR_FUNCTION_WRITE