iwopy.interfaces.scipy.optimizer.Optimizer_scipy
- class iwopy.interfaces.scipy.optimizer.Optimizer_scipy[source]
Bases:
Optimizer
Interface to the scipy optimizers.
Note that these solvers do not support vectorized evaluation.
- Parameters:
Methods
__init__
(problem[, scipy_pars, mem_size])finalize
(opt_results[, verbosity])This function may be called after finishing the optimization.
initialize
([verbosity])Initialize the object.
Print solver info, called before solving
solve
([verbosity])Run the optimization solver.
Attributes
Flag for finished initialization
- finalize(opt_results, verbosity=1)
This function may be called after finishing the optimization.
- Parameters:
opt_results (iwopy.OptResults) – The optimization results object
verbosity (int) – The verbosity level, 0 = silent
- initialize(verbosity=1)[source]
Initialize the object.
- Parameters:
verbosity (int) – The verbosity level, 0 = silent
- property initialized
Flag for finished initialization
- Returns:
True if initialization has been done
- Return type: