.. _spkg_cvxopt:

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
----------------

-  J. Dahl <dahl.joachim@gmail.com>
-  L. 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
------------

- $(PYTHON)
- :ref:`spkg_numpy`
- $(BLAS)
- :ref:`spkg_gsl`
- :ref:`spkg_glpk`
- :ref:`spkg_suitesparse`
- $(PYTHON_TOOLCHAIN)
- :ref:`spkg_pkgconfig`

Version Information
-------------------

package-version.txt::

    1.3.0

install-requires.txt::

    cvxopt >=1.2.5


Equivalent System Packages
--------------------------

conda:

.. CODE-BLOCK:: bash

    $ conda install  cvxopt


freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install math/py-cvxopt


macports:
install the following packages: py-cvxopt

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


However, these system packages will not be used for building Sage
because using Python site-packages is not supported by the Sage distribution;
see :trac:`29023`

