Function add_activity_constraints

Source
fn add_activity_constraints(
    problem: &mut RowProblem,
    variables: &VariableMap,
) -> KeysWithOffset<(AssetRef, TimeSliceID)>
Expand description

Add constraints on the activity of different assets.

This ensures that assets do not exceed their specified capacity and availability for each time slice.

See description in the dispatch optimisation documentation.