XD blog

blog page

cvxopt


2014-11-23 Install cvxopt on Ubuntu

The module cvxopt is not part of Anaconda distribution. If you try to run from a terminal:

pip install cvxopt

It is probably because Lapack and Blas are not installed. If it is the case, I suggest to follow the instructions in How to install Blas and Lapack. After it is done, the following instruction should run:

pip install cvxopt

On Windows, I suggest to go to Unofficial Windows Binaries for Python Extension Packages.

2014-04-16 Désactiver les logs de cvxopt

Des élèves m'ont posé cette question aujourd'hui : comment désactiver les logs que génère le module cvxopt. J'ai trouvé la réponse en cherchant cvxopt disable log sur un moteur de recherche cvxopt, algorithm parameters ou encore CVXOPT output suppression with MOSEK.

from cvxopt import solvers
solvers.options['show_progress'] = False

Xavier Dupré