pyepo.model.grb.compile¶
Gurobi compiler for the PyEPO DSL.
compiledGrbProblem mixes the shared MVar hooks with compiledBase and
optGrbModel to turn a finalized DSL Problem into a GurobiPy model; 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.model._mvar_compile.compiledMVarMixin,pyepo.dsl.compiled.compiledBase,pyepo.model.grb.grbmodel.optGrbModelGurobi-backed compiled DSL problem.