osier.DispatchModel.solve#

DispatchModel.solve(solver=None)[source]#

Executes the model solve. Model equations are written at the time the method is called.

Parameters:

solver (str) – Indicates which solver to use. If no solver is specified, the default DispatchModel.solver attribute is used. Default is [‘cplex’].