15.1 API conventionsΒΆ

Problem setup

An optimization problem in Optimization Toolbox for MATLAB is specified using the prob structure. The specification of numerical part of the data can be found in Sec. 15.3.1 (Notation).

Constants

Constants mentioned in Sec. 15.7 (Enumerations) and Sec. 15.5 (Parameters (alphabetical list sorted by type)) can be used as strings or as symbolic constants. To get the structure with all symbolic constants available execute:

[r, res] = mosekopt('symbcon');

They can later be used simply as, for example:

res.symbcon.MSK_IPAR_OPTIMIZER