SciPy Optimize¶
-
class
Scipy(_opt_id=None, _signal_pipe=None, _results_queue=None, _pause_flag=None, _is_log_detailed=False, _workers=1, _backend='threads', method='Nelder-Mead', jac=None, hess=None, tol=None, **kwargs)[source]¶ Bases:
scm.glompo.optimizers.baseoptimizer.BaseOptimizerWrapper around scipy.optimize.minimize.
Warning
This is quite a rough wrapper around SciPy’s optimizers since the code is quite impenetrable to outside code, and callbacks do not function consistently. Therefore, most GloMPO functionality like checkpointing and information sharing is not available. Users are advised to try
Nevergradinstead which offers an interface to the SciPy optimizers with full GloMPO functionality.This optimizer is also prone to hanging in certain edge cases, thus you are advised to set
end_timeoutin theGloMPOManagerto a reasonable value.- Parameters
- _opt_id, _signal_pipe, _results_queue, _pause_flag, _is_log_detailed, _workers, _backend
See
BaseOptimizer.- method, jac, hess, hessp, tol
Passed to the
scipy.optimize.minimizearguments of the same name.**kwargsPassed to the
optionsargument ofscipy.optimize.minimize.