pyepo.model.grb.compile ======================= .. py:module:: pyepo.model.grb.compile .. autoapi-nested-parse:: 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 ------- .. autoapisummary:: pyepo.model.grb.compile.compiledGrbProblem Functions --------- .. autoapisummary:: pyepo.model.grb.compile.compileProblem Module Contents --------------- .. py:function:: compileProblem(problem, **params) -> compiledGrbProblem Instantiate the Gurobi-compiled problem; ``params`` are Gurobi parameters. .. py:class:: compiledGrbProblem(problem, params=None) Bases: :py:obj:`pyepo.model._mvar_compile.compiledMVarMixin`, :py:obj:`pyepo.dsl.compiled.compiledBase`, :py:obj:`pyepo.model.grb.grbmodel.optGrbModel` Gurobi-backed compiled DSL problem.