check_optimization_input (method)

exception OptimizationAttributeError(message)[source]

Bases: Exception

Class to Raise an error

check_optimization_input(self)[source]

Check optimization parameters before solving the problem

Parameters

solver (Solver) – solver to perform the genetic algorithm with DEAP