cvxopt: Python software for convex optimization - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# cvxopt: Python software for convex optimization

## Description

CVXOPT is a free software package for convex optimization based on the Python programming language. It can be used with the interactive Python interpreter, on the command line by executing Python scripts, or integrated in other software via Python extension modules. Its main purpose is to make the development of software for convex optimization applications straightforward by building on Python’s extensive standard library and on the strengths of Python as a high-level programming language.

## Upstream Contact

- 10. Dahl <dahl.joachim@gmail.com>

- 12. Vandenberghe <vandenbe@ee.ucla.edu>

https://cvxopt.org/

## License

GPLv3 or later. Includes parts under GPLv2, GNU Lesser General Public License, v2.1. See src/LICENSE for more details. (Sage-compatible)

## Type

standard

## Dependencies

- $(BLAS)

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

- glpk: GNU Linear Programming Kit

- gsl: The GNU Scientific Library

- numpy: Package for scientific computing with Python

- pkgconfig: Python interface to pkg-config

- suitesparse: A suite of sparse matrix software

## Version Information

package-version.txt:

    1.3.2

version_requirements.txt:

    cvxopt >=1.2.5

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S python-cvxopt

conda-forge

    $ conda install cvxopt

Debian/Ubuntu

    $ sudo apt-get install python3-cvxopt

Fedora/Redhat/CentOS

    $ sudo dnf install python3-cvxopt

FreeBSD

    $ sudo pkg install math/py-cvxopt

Gentoo Linux

    $ sudo emerge dev-python/cvxopt

MacPorts

    $ sudo port install py-cvxopt

openSUSE

    $ sudo zypper install python3\$\{PYTHON_MINOR\}-cvxopt

See https://repology.org/project/python:cvxopt/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.