blob: 7733c18fd5655486c1ce7be042e5206eb193f820 [file] [log] [blame]
Austin Schuh9049e202022-02-20 17:34:16 -08001CVXPY
2=====
3
4`CVXPY <http://www.cvxpy.org/>`_ 1.0 supports the OSQP solver by default. After defining your problem, you can solve it with OSQP by just calling
5
6.. code:: python
7
8 problem.solve()
9
10
11OSQP is the default QP solver used. To specify it explicitly together with some options you can execute
12
13.. code:: python
14
15 problem.solve(solver=OSQP, max_iter=2000)
16
17where we set the :code:`max_iter` option to :code:`2000`.