Function calculate_prices

Source
pub fn calculate_prices(
    model: &Model,
    solution: &Solution<'_>,
) -> CommodityPrices
Expand description

Calculate commodity prices.

Note that the behaviour will be different depending on the PricingStrategy the user has selected.

ยงArguments

  • model - The model
  • solution - Solution to dispatch optimisation