CVXPY
QOCO can be called from CVXPY starting in version 1.7.0. To use QOCO with CVXPY before version 1.7.0 of CVXPY is officially released, you must build CVXPY from source.
After installing QOCO and defining your problem problem in CVXPY, QOCO can be called as follows
problem.solve(solver='QOCO', max_iters=100)
where we set the max_iters
option to 100
. For a full list of settings that can be changed, refer to settings.
For some example problems that can be solved with CVXPY refer to examples. To solve these problems with QOCO, add the keyword argument solver='QOCO'
to the problem.solve()
function.