Problem#
Definition of optimization problem. |
|
Adapter wrapping a pymoo Problem instance as a saealib |
|
A single inequality constraint: g(x) <= threshold. |
|
A single equality constraint: h(x) = 0, satisfied within a tolerance. |
|
Pluggable constraint-processing strategy. |
|
Default constraint handler reproducing the static-tolerance behavior. |
|
Dynamic ε-constraint handler. |
|
Gradient-based constraint repair handler. |
- saealib.linear_epsilon_schedule(eps0, n_gen)[source]#
Return a linear ε schedule:
eps0at gen 0,0.0at genn_gen.- Parameters:
eps0 (float) – Initial ε value (gen 0).
n_gen (int) – Generation at which ε reaches 0.
- Returns:
schedule(gen) -> float- Return type:
callable
- saealib.exponential_epsilon_schedule(eps0, decay)[source]#
Return an exponential ε schedule:
eps0 * decay**gen.- Parameters:
eps0 (float) – Initial ε value (gen 0).
decay (float) – Multiplicative decay factor per generation (0 < decay < 1).
- Returns:
schedule(gen) -> float- Return type:
callable
Problem accepts a SearchSpace through space and can manage Genome representations and conversion to evaluation inputs.
See Problem and SearchSpace for details.