Solves an optimisation problem.
sopi_solve(problem) sopi_solve(problem, method) sopi_solve(problem, method, x0) sopi_solve(problem, method, x0, options)
an optimisation problem (sopiPro)
the name of the optimisation method to use (string)
the initialisation point (vector)
the options for the solver (structure)