OptimizationAlgorithm#

class pybrops.opt.algo.OptimizationAlgorithm.OptimizationAlgorithm[source]#

Bases: object

An abstract class for optimization algorithms.

The purpose of this abstract class is to provide functionality for:
  1. Optimization of objective functions.

Methods

minimize

Minimize an optimization problem.

abstract minimize(prob, miscout, **kwargs)[source]#

Minimize an optimization problem.

Parameters:
  • prob (Problem) – A problem definition object on which to optimize.

  • miscout (dict) – Miscellaneous output from the constrained optimizaiont algorithm.

  • kwargs (dict) – Additional keyword arguments

Returns:

out – An object containing the solution to the provided problem.

Return type:

Solution