pub fn export_lp<DemandId: Display + Eq + Hash + Clone, PortfolioId: Display + Eq + Hash + Clone, ProductId: Display + Eq + Hash + Clone + Ord>(
demand_curves: Map<DemandId, DemandCurve>,
portfolios: Map<PortfolioId, (DemandGroup<DemandId>, ProductGroup<ProductId>)>,
buffer: &mut impl Write,
) -> Result<(), Error>Expand description
Convert a set of flow trading submissions to a quadratic program and export
this program to .lp format.