cuqi.solver.L_BFGS_B.solve#

L_BFGS_B.solve()#

Runs optimization algorithm and returns solution and info.

Returns:

  • solution (array_like) – Estimated position of the minimum.

  • info (dict) – Information dictionary. success: 1 if minimization has converged, 0 if not. message: Description of the cause of the termination. func: Function value at the estimated minimum. grad: Gradient at the estimated minimum. nit: Number of iterations. nfev: Number of func evaluations.