Safe Haskell  None 

Documentation
:: (Matrix Double, Vector Double)  The function to minimize. It should be of the form

> Maybe (Matrix Double, Vector Double)  Optional equality constraints. When given, this
argument should be of the form 
> Maybe (Matrix Double, Vector Double)  Optional inequality constraints. When given, this
argument should be of the form 
> Either QuadProgPPError (Vector Double, Double) 
Solve a strictly convex quadratic program with optional linear constraints. It returns a pair of the optimal solution and the value of the objective function at that point. On error it returns Left.
data QuadProgPPError Source
Errors that can happen in solveQuadProg
.
QuadProgInfeasible  The problem has no feasible solution. 
QuadProgSizeMismatch  The given matrices and vectors have inconsistent dimensionalities. 
QuadProgOtherError String  Other errors. Currently this is used for C++ exceptions thrown by QuadProg++. 