Skip to main content

Module optimize

Module optimize 

Source
Expand description

Cost-evaluation vocabulary for branch-and-bound optimization.

The branch-and-bound search now lives in the unified kernel ([crate::solver::search::branch_and_bound]); this module owns only the cost abstraction the optimizer plugs in — DomainCostEval and its two implementors ([ZeroCost], [CostDomainEval]).

Traits§

DomainCostEval
Cost evaluator for domains. Passed into the optimizer so the same search code works for both CostDomain and plain Domain (zero cost).