Function soco::model::data_center::loads::apply_loads
source · [−]pub fn apply_loads<'a, T>(
d: i32,
e: i32,
objective: &impl Fn(i32, &Config<T>, &LoadProfile, &LoadFractions) -> IntermediateObjective,
lambda: &LoadProfile,
t: i32,
x: Config<T>
) -> Cost<DataCenterModelOutputSuccess, DataCenterModelOutputFailure> where
T: Value<'a>,
Expand description
Calculates cost based on a model for an optimal distribution of loads.
- $d$ - number of dimensions
- $e$ - number of job types
- $objective$ - cost function to minimize w.r.t. load assignments
- $\lambda$ - load profile
- $t$ - time slot
- $x$ - configuration