RealOptimizationAlgorithm#

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

Bases: OptimizationAlgorithm

An abstract class for optimization algorithms optimizing in real search spaces.

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

Methods

minimize

Minimize an optimization problem.

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

Minimize an optimization problem.

Parameters:
  • prob (RealProblem) – A real 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 real problem.

Return type:

RealSolution