pub fn solve(
storage: &Storage,
scenarios: &[Vec<f64>],
hours: f64,
beta: f64,
) -> Result<Schedule, PlanError>Expand description
Solves max (1 − β)·E(R) + β·CVaR₀.₁(R) over scenarios (each one price per interval of
hours).
§Errors
PlanError::Solver if the solver does not report a solution; PlanError::Limits if the
solution leaves a limit by more than the tolerance.