Reference

MP-Opt-Model Classes

Use opt_model to build and solve your mathematical programming and optimization models.

MP-Opt-Model Functions

Master Functions

The MP-Opt-Model master functions provide unified interfaces to multiple solvers for linear program (LP), quadratic program (QP), nonlinear program (NLP), mixed-integer program (MILP/MIQP) optimization, as well as nonlinear equation (NLEQ) solving and parameterized nonlinear equation (PNE) solution tracing.

Utility Functions

Use these functions to convert linear constraints or to copy data from one struct to another.

Options Handling Functions

Use these functions to set up input options for individual solvers.

Version Information Functions

Use these functions to check the version of the installed MP-Opt-Model, Gurobi, and OSQP.

Solver Interfaces & Implementations

These functions provide the implementations and interfaces for the solvers accessible through the Master Functions above.

MIQP Solver

NLEQ Solver

NLP Solver

PNE Solver

LP/QP Solver

MP-Opt-Model Examples

These are examples of using MP-Opt-Model to solve a NLP.

MP-Opt-Model Tests

These functions test that MP-Opt-Model is installed and functioning as expected.

Private Functions

The following are private functions that implement detection of specific optional functionality. They are not intended to be called directly, but rather are used to extend the capabilities of have_feature().