IntegerOptimizationAlgorithm#

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

Bases: OptimizationAlgorithm

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

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

Methods

minimize

Minimize an optimization problem.

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

Minimize an optimization problem.

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

Return type:

IntegerSolution