metaheuristic_designer package#

Subpackages#

metaheuristic_designer.algorithms

Algorithm variant, and comparison utilities.

metaheuristic_designer.benchmarks

Benchmarking objective functions provided by the library to test algorithms.

metaheuristic_designer.constraint_handlers

Constraint handling implementation provided by the library.

metaheuristic_designer.encodings

Concrete encoding implementations provided by the library.

metaheuristic_designer.initializers

Concrete initializer implementations provided by the library.

metaheuristic_designer.operators

Operator interfaces and base implementations.

metaheuristic_designer.parameter_schedules

Built-in parameter schedules for dynamic algorithm configuration.

metaheuristic_designer.parent_selection

Parent selection registry and factory.

metaheuristic_designer.reporters

Built-in reporter implementations (silent, tqdm, verbose) and the factory.

metaheuristic_designer.simple

Ready-to-run wrappers that build complete algorithms from a few hyperparameters.

metaheuristic_designer.strategies

Built-in search strategy implementations.

metaheuristic_designer.survivor_selection

Survivor selection methods.

Submodules#

metaheuristic_designer.algorithm

Base class for the Algorithm module.

metaheuristic_designer.checkpointer

Module for checkpointing and resuming optimizations runs.

metaheuristic_designer.constraint_handler

Base class for the Constraint Handler module.

metaheuristic_designer.encoding

Base class for the Encoding module.

metaheuristic_designer.history_tracker

Module for recording per-generation metrics and exporting them as pandas DataFrames.

metaheuristic_designer.initializer

Base class for the Initializer module.

metaheuristic_designer.objective_function

Base class for the Objective Function module.

metaheuristic_designer.operator

Base class for the Operator module.

metaheuristic_designer.parametrizable_mixin

Module providing the ParametrizableMixin for managing schedulable parameters.

metaheuristic_designer.parent_selection_base

Base class for the Parent Selection module.

metaheuristic_designer.population

Base class for the Population module.

metaheuristic_designer.reporter

Module defining the abstract reporter interface for algorithm progress output.

metaheuristic_designer.schedulable_parameter

Module for schedule-dependent parameters whose value changes with progress.

metaheuristic_designer.search_strategy

Base class for the Search strategy module.

metaheuristic_designer.stopping_condition

Module for algorithm stopping conditions and progress metric evaluation.

metaheuristic_designer.survivor_selection_base

Base class for the Survivor Selection module.

metaheuristic_designer.utils

Utility functions, type aliases, and a JSON encoder used across the library.