Python optimizer API

The MOSEK Python API provides a complete mapping of the MOSEK C API  functionality to a class based interface. This allows any program written in Python to exploit the powerful MOSEK optimizers. No third party packages are required apart from the standard library, but the Numerical Python package is optionally supported. A few highlights are:

  • Access to the complete MOSEK functionality: Read, write, modify and solve optimization problems.
  • Access to solution information and progress information during optimization.
  • Seamless integration of event callback functions and streams.
  • Hierarchical access to all MOSEK symbolic constants.
  • Interactive modification and inspection of optimization problems from the Python command line.

The Python interface is included in the MOSEK distribution along with tutorials, documentation and a library of working code examples. A undefinedquick to read introduction to optimization with the MOSEK python interface is also available.

Note the Python API is not available on all support platforms. Please consult the optimizer API availability page for details.

Mosek ApS - Fruebjergvej 3, Box 16 - 2100 Copenhagen O - Denmark - Ph.: +45 39 17 99 07 - Fax: +45 39 17 98 23 - Email: info@mosek.com