metaheuristic_designer.constraint_handler#

Base class for the Constraint Handler module.

This module implements ways to enforce constraints on the objective function.

Classes

ConstraintHandler(**kwargs)

Abstract base for all constraint handlers.

ConstraintHandlerFromLambda([...])

Constraint handler built from plain callables.

NullConstraint(**kwargs)

Constraint handler that enforces no restrictions.

PenalizeConstraint(**kwargs)

Abstract handler that only computes penalties.

RepairConstraint(**kwargs)

Abstract handler that only repairs solutions.