User's guide for SOL/QPSOL: a Fortran package for quadratic programming