Module for solving quadratic programming problems with constraints