algorithmInterface
¶
Module Contents¶
-
class
AlgorithmInterface
[source]¶ Interface for the optimization algorithm
-
abstract
compute
(self, initialVectorGuess, listOfOptimizationVariables)[source]¶ Launch the optimization
- Parameters
initialVectorGuess – list of variables that describe the initial individual
listOfOptimizationVariables – list of
optimeed.optimize.optiVariable.OptimizationVariable
- Returns
vector of optimal variables
-
abstract
set_evaluationFunction
(self, evaluationFunction, callback_on_evaluation, numberOfObjectives, numberOfConstraints)[source]¶ Set the evaluation function and all the necessary callbacks
- Parameters
evaluationFunction – check
evaluateObjectiveAndConstraints()
callback_on_evaluation – check
callback_on_evaluation()
. Call this function after performing the evaluation of the individualsnumberOfObjectives – int, number of objectives
numberOfConstraints – int, number of constraints
-
abstract