Optimization Solutions
SciMLBase.OptimizationSolution
— Typestruct OptimizationSolution{T, N, uType, C<:SciMLBase.AbstractOptimizationCache, A, OV, O, ST} <: SciMLBase.AbstractOptimizationSolution{T, N}
Representation of the solution to a non-linear optimization defined by an OptimizationProblem.
Fields
u
: the representation of the optimization's solution.alg
: the algorithm type used by the solver.objective
: Objective value of the solutionretcode
: the return code from the solver. Used to determine whether the solver solved successfully or whether it exited due to an error. For more details, see the return code documentation.original
: if the solver is wrapped from a external solver, e.g. Optim.jl, then this is the original return from said solver library.stats
: statistics of the solver, such as the number of function evaluations required.
Internal Fields
cache::AbstractOptimizationCache
: the optimization cache that was solved.
Interface
OptimizationSolution
is a SciMLBase.AbstractNoTimeSolution
. For more information on the SciML solution interfaces, check out the SciML Solution Interface documentation page