After having demonstrated linear programming in R I want to introduce quadprog, a package for modelling and solving quadratic problems. A good theoretical introduction to quadratic programming (hence “quadratic optimization”) can be found here: https://optimization.mccormick.northwestern.edu/index.php/Quadratic_programming On stackoverflow, a useful discussion […]