Expand description
Runtime per-constraint weight multipliers.
ConstraintWeights lives on a planning solution (through the
#[constraint_weights] field attribute) and scales each named constraint’s
coded contribution by a non-negative integer multiplier.
Structs§
- Constraint
Weights - Per-constraint multipliers keyed by
ConstraintRef::full_name().
Enums§
- Constraint
Weight Error - Error reported when constraint weights do not fit the model’s constraints.
Constants§
- MAX_
CONSTRAINT_ WEIGHT_ MULTIPLIER - Largest accepted constraint weight multiplier.