14.1 Fusion API conventions

14.1.1 General conventions

The Fusion interface for MATLAB is distributed as a Java package. All the classes of the Fusion interface are contained in the package mosek.fusion. The user should not directly instantiate objects of any class other than creating a Model.

Model M = new Model();
Model M = new Model("myModel");

The model is the main access point to an optimization problem and its solution. All other objects should be created through the model (Model.variable, Model.constraint, etc.) or using static factory methods (Matrix.sparse etc.).