CVXOPT is a Python-based front-end to a variety of convex and conic optimization solvers. CVXOPT is less flexible, but more efficient than CVX. It also exposes an interface to customize the linear algebra routines used within the conic solvers so that one can create highly efficient, specialized interior point methods for certain problems. See their website for more details.
The standard installation comes with some open-source solvers. These open-source solvers will be sufficient for the Software Tools Class. Consult the CVXOPT documentation for instructions on adding additional solvers to your installation.
CVXOPT requires Python 2.7 or Python 3.x. If you require Python a new version, please see the page Installing Python
While it is possible to build CVXOPT from source, we have not yet tested/tried this. Any experience from users who are willing to try is welcome in the comments section.
Instead, please download and install from binary.
While it is possible to install CVXOPT from a binary as described above, we have not tested/tried this. Any experience from users who are willing try is welcome in the comments section.
Otherwise, please build CVXOPT from source.
This should invoke the GCC compiler and build CVXOPT. When it is complete, you can test your installation.
Since the installation of CVXOPT is slightly more involved than other packages, we highly recommend testing your installation. To do this:
This should produce some output code and an optimal solution of x = (1, 1).
If you come across an error in these installation instructions, please