desc.optimize.Optimizer
- class desc.optimize.Optimizer(method)Source
A helper class to wrap several optimization routines.
Offers all the
scipy.optimize.least_squares
routines and several of the most usefulscipy.optimize.minimize
routines. Also offers several custom routines specifically designed for DESC, both scalar and least squares routines with and without Jacobian/Hessian information.- Parameters:
method (str) – name of the optimizer to use. Options can be found as desc.optimize.optimizers
objective (ObjectiveFunction) – objective to be optimized
Methods
copy
([deepcopy])Return a (deep)copy of this object.
equiv
(other)Compare equivalence between DESC objects.
load
(load_from[, file_format])Initialize from file.
optimize
(things, objective[, constraints, ...])Optimize an objective function.
save
(file_name[, file_format, file_mode])Save the object.
Attributes
Name of the optimization method.