17 Interface changes¶
The section shows interface-specific changes to the MOSEK Fusion API for C++ in version 10.0 compared to version 9. See the release notes for general changes and new features of the MOSEK Optimization Suite.
17.1 Important changes compared to version 9¶
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. 9 (Debugging Tutorials) may be useful for some cases.
Multithreading. In the interior-point optimizer it is posible to set the number of threads with
numThreadsbefore each optimization, and not just once per process. The parameter
MSK_IPAR_INTPNT_MULTI_THREADis no longer relevant and was removed.
OptServer. The arguments used in remote calls from the MOSEK API change from
(addr, accesstoken), where
addris the full URL such as
https://server:port. See the documentation of the relevant functions.
MIO initial solution. In order for the mixed-integer solver to utilize a partial integer solution the parameter
mioConstructSolmust be set. See Sec. 7.7.2 (Specifying an initial solution) for details. In version 9 this action happened by default.
Text file formats. Due to new internal representation of the model, conic problems can no longer be written in OPF format. Instead write them in PTF format (extension
*.ptf, see Sec. 15.5 (The PTF Format)).
17.2 Changes compared to version 9¶
17.3 Parameters compared to version 9¶
17.4 Constants compared to version 9¶