pyepo.model.ort.compile¶
OR-Tools (pywraplp) compiler for the PyEPO DSL.
compiledOrtProblem mixes the generic compiledBase with optOrtModel
to turn a finalized DSL Problem into a pywraplp Solver running an open
solver (solver=, default SCIP). It builds the model and provides the OR-Tools
read / write hooks; the objective handling lives in compiledBase. pywraplp is
LP / MIP only — quadratic objectives or constraints raise NotImplementedError.
Classes¶
OR-Tools (pywraplp) compiled DSL problem, solved by |
Functions¶
|
Instantiate the OR-Tools-compiled problem; |
Module Contents¶
- pyepo.model.ort.compile.compileProblem(problem, solver='scip', **params) compiledOrtProblem¶
Instantiate the OR-Tools-compiled problem;
paramsare solver options.
- class pyepo.model.ort.compile.compiledOrtProblem(problem, params=None, solver='scip')¶
Bases:
pyepo.dsl.compiled.compiledBase,pyepo.model.ort.ortmodel.optOrtModelOR-Tools (pywraplp) compiled DSL problem, solved by
solver.- problem¶
- params¶
- solver = 'scip'¶