Model¶
Components¶
|
Returns model name |
|
Sets the session of model |
|
Returns the session of the model |
|
Tests whether the model session is defined and still active |
|
Specifies the objective function for the model |
|
Appends a new objective to the model |
|
Returns the objective function as an |
|
Returns a list of objectives in the model |
|
Adds a new variable to the model |
|
Adds a group of variables to the model |
|
Adds an implicit variable to the model |
|
Returns the reference to a variable in the model |
|
Returns a list of variables |
Returns an ordered dictionary of variables |
|
Returns a list of implicit variables |
|
|
Returns the objective value coefficient of a variable |
|
Drops a variable from the model |
|
Drops a variable group from the model |
|
Adds a single constraint to the model |
|
Adds a set of constraints to the model |
|
Returns the reference to a constraint in the model |
|
Returns a list of constraints in the model |
Returns an ordered dictionary of constraints |
|
|
Drops a constraint from the model |
|
Drops a constraint group from the model |
|
Adds a set to the model |
|
Adds a |
|
Adds a PROC OPTMODEL statement to the model |
|
Returns a list of |
|
Returns a list of |
|
Returns a list of all statements inside the model |
|
Adds existing variables and constraints to a model |
Solver calls¶
|
Solves the model by calling CAS or SAS optimization solvers |
|
Tunes the model to find ideal solver parameters |
|
Returns the primal and dual problem solutions |
|
Returns the value of a variable |
Returns the optimal objective value |
|
Returns the solution summary table to the user |
|
Returns the problem summary table to the user |
|
|
Returns the tuning results |
|
Prints the current values of the variables |
|
Clears the cached solution of the model |
Export¶
|
Returns the problem in MPS format |
|
Returns the model in OPTMODEL format |
|
Exports model in MPS format |
Internal functions¶
|
Checks whether the model can be written as a linear model (in MPS format) |
Deprecated¶
Deprecated since version 1.0.0.
The following method(s) are deprecated and will be removed in future minor updates.
|