pub fn calculate_prices_and_reduced_costs(
model: &Model,
solution: &Solution<'_>,
existing_assets: &[AssetRef],
year: u32,
) -> (CommodityPrices, ReducedCosts)
Expand description
Calculate commodity prices and reduced costs for assets.
Note that the behaviour will be different depending on the PricingStrategy
the user has
selected.
ยงArguments
model
- The modelsolution
- Solution to dispatch optimisationexisting_assets
- Existing assetsyear
- Current milestone year