fn select_best_assets(
model: &Model,
opt_assets: Vec<AssetRef>,
commodity: &Commodity,
agent: &Agent,
reduced_costs: &ReducedCosts,
demand: IndexMap<TimeSliceID, Flow>,
year: u32,
writer: &mut DataWriter,
) -> Result<Vec<AssetRef>>
Expand description
Get the best assets for meeting demand for the given commodity