optimization.optimizer.scipy.dual_annealing#
SciPy dual annealing optimizer wrapper.
Classes
|
DualAnnealing is an optimizer that uses the dual annealing algorithm to find the minimum of an optimization problem. |
- class DualAnnealing(problem: OptimizationProblem)[source]#
DualAnnealing is an optimizer that uses the dual annealing algorithm to find the minimum of an optimization problem.
- Parameters:
problem (OptimizationProblem) – The optimization problem to be solved.
- Methods:
optimize (maxiter=1000, disp=True) – Runs the dual annealing algorithm to optimize the problem and returns the result.
- optimize(maxiter: int = 1000, disp: bool = True, plot: bool = False, callback: Any = None)[source]#
Runs the dual annealing algorithm to optimize the problem.
- undo()#
Undo the last optimization step.