Numeric Methods Series 06 Quadradic Problem

QP is to find a point that minimizes a quadradic function while satisfying other constraints.

It’s a generic form. however, in real cases such as f(x, y) = x2+y2+x+y, we should rewrite in matrix form:

In applying SLSQP to solve portfolio weighting optimization, we have f(x0, x1, … xn) = sigma(x – xi)^2.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.