fn add_variables(
problem: &mut RowProblem,
variables: &mut VariableMap,
time_slice_info: &TimeSliceInfo,
assets: &[AssetRef],
year: u32,
) -> Range<usize>
Expand description
Add variables to the optimisation problem.
ยงArguments
problem
- The optimisation problemvariables
- The variable maptime_slice_info
- Information about assetsassets
- Assets to includeyear
- Current milestone year