modified main optunity API to its final form, all solvers can now maximize, minimize and optimize