SubsetOptimizationAlgorithm#

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

Bases: OptimizationAlgorithm

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

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

Methods

minimize

Minimize an optimization problem.

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

Minimize an optimization problem.

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

Return type:

SubsetSolution