OptimizerResult#

class OptimizerResult[source]#

Bases: AlgorithmResult

The result of an optimization routine.

Attributes

fun#

The final value of the minimization.

jac#

The final gradient of the minimization.

nfev#

The total number of function evaluations.

nit#

The total number of iterations.

njev#

The total number of gradient evaluations.

x#

The final point of the minimization.

Methods

combine(result)#

Any property from the argument that exists in the receiver is updated. :param result: Argument result with properties to be set.

Raises:

TypeError – Argument is None