pyepo.model.copt.compile

COPT compiler for the PyEPO DSL.

compiledCoptProblem mixes the shared MVar hooks with compiledBase and optCoptModel to turn a finalized DSL Problem into a Cardinal Optimizer model; the objective handling lives in compiledBase.

Classes

compiledCoptProblem

COPT-backed compiled DSL problem.

Functions

compileProblem(→ compiledCoptProblem)

Instantiate the COPT-compiled problem; params are COPT parameters.

Module Contents

pyepo.model.copt.compile.compileProblem(problem, **params) compiledCoptProblem

Instantiate the COPT-compiled problem; params are COPT parameters.

class pyepo.model.copt.compile.compiledCoptProblem(problem, params=None)

Bases: pyepo.model._mvar_compile.compiledMVarMixin, pyepo.dsl.compiled.compiledBase, pyepo.model.copt.coptmodel.optCoptModel

COPT-backed compiled DSL problem.