pyepo.model.copt.compile

COPT compiler for the PyEPO DSL.

compiledCoptProblem mixes the generic compiledBase with optCoptModel to turn a finalized DSL Problem into a Cardinal Optimizer model. It builds the model and provides the COPT read / write hooks; 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.dsl.compiled.compiledBase, pyepo.model.copt.coptmodel.optCoptModel

COPT-backed compiled DSL problem.