Function solve_optimal

Source
pub fn solve_optimal(model: Model) -> Result<SolvedModel>
Expand description

Try to solve the model, returning an error if the model is incoherent or result is non-optimal