re-refactored gurobisolver
Quadtratic minimization algorithm implemented