Quadratic Programming with Python and CVXOPT
https://courses.csail.mit.edu/6.867/wiki/images/a/a7/Qp-cvxopt.pdf
sol = solvers.qp(P,q,G,h) That’s it! If you had A;b as well, you would call: sol = solvers.qp(P,q,G,h,A,b) You can even specify more options, such as the solver used and initial values to try. See the CVXOPT QP documentation in the references on the nal page. Many properties about the solution can be extracted from the sol variable (dictionary).
DA: 63 PA: 20 MOZ Rank: 49