fn add_constraints(
problem: &mut RowProblem,
asset: &AssetRef,
max_capacity: Option<Capacity>,
commodity: &Commodity,
variables: &VariableMap,
demand: &IndexMap<TimeSliceID, Flow>,
time_slice_info: &TimeSliceInfo,
)
Expand description
Adds constraints to the problem.