pyepo.model.grb.compile¶
Gurobi compiler for the PyEPO DSL.
compiledGrbProblem mixes the generic compiledBase with optGrbModel
to turn a finalized DSL Problem into a GurobiPy model. It builds the model
and provides the Gurobi read / write hooks; the objective handling lives in
compiledBase.
Classes¶
Gurobi-backed compiled DSL problem. |
Functions¶
|
Instantiate the Gurobi-compiled problem; |
Module Contents¶
- pyepo.model.grb.compile.compileProblem(problem, **params) compiledGrbProblem¶
Instantiate the Gurobi-compiled problem;
paramsare Gurobi parameters.
- class pyepo.model.grb.compile.compiledGrbProblem(problem, params=None)¶
Bases:
pyepo.dsl.compiled.compiledBase,pyepo.model.grb.grbmodel.optGrbModelGurobi-backed compiled DSL problem.