How to silence the cvxopt solver?

596 views
Skip to first unread message

Yu Zheng

unread,
Oct 1, 2019, 11:02:33 AM10/1/19
to CVXOPT
I'm using cvxopt.solvers.qp in a loop to solve multiple quadratic programming problems, and I want to silent the output. (version 1.2.3)

I've tried the following methods and the combinations of them:

cvxopt.solvers.options['show progress'] = False
cvxopt.solvers.options['glpk'] = dict(msg_lev='GLP_MSG_OFF')

and none of them works. Any hint?

Martin

unread,
Oct 1, 2019, 1:37:42 PM10/1/19
to CVXOPT
You need an underscore in "show_progress" (https://cvxopt.org/userguide/coneprog.html#algorithm-parameters):

cvxopt.solvers.options['show_progress'] = False
Reply all
Reply to author
Forward
0 new messages