tequila.optimizers.optimizer_scipy.OptimizerSciPy¶
-
class
tequila.optimizers.optimizer_scipy.
OptimizerSciPy
(method: str = 'L-BFGS-B', tol: numbers.Real = None, method_options=None, method_bounds=None, method_constraints=None, **kwargs)[source]¶ Bases:
tequila.optimizers.optimizer_base.Optimizer
Class wrapping over the scipy optimizer for use by Tequila.
- Variables
method – The scipy optimization method passed as string.
tol – See scipy documentation for the method you picked
method_options – See scipy documentation for the method you picked
method_bounds – See scipy documentation for the method you picked
method_constraints – See scipy documentation for the method you picked
silent – if False, the optimizer prints out all evaluated energies
-
__init__
(method: str = 'L-BFGS-B', tol: numbers.Real = None, method_options=None, method_bounds=None, method_constraints=None, **kwargs)[source] - Parameters
method (str: Default = 'L-BFGS-B') – The scipy optimization method passed as string.
tol (float, optional) – See scipy documentation for the method you picked
method_options (optional) – See scipy documentation for the method you picked
method_bounds (optional) – See scipy documentation for the method you picked
method_constraints (optional) – See scipy documentation for the method you picked
silent (bool) – If False the optimizer prints out all evaluated energies
Attributes
Methods
All tested available methods
Convenience function to compile gradient objects and relavant types.
Convenience function to compile hessians for optimizers which require it.
Convenience function to wrap over compile; for use by inheritors.
Convenience function to format the variables of some objective recieved in calls to optimizers.
Reset the optimizer history.