Use a factory to create instantiate GenQPSolver.
Add QPSolver::solver method to change the solver on the fly.