BinaryOptimizationAlgorithm#

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

Bases: OptimizationAlgorithm

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

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

Methods

minimize

Minimize an optimization problem.

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

Minimize an optimization problem.

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

Return type:

BinarySolution