Python implementation of a primal active set method for sequential quadratic programming. A base ActiveSet class implements the generic form of the algorithm while derived classes implement the small ...