CPOptimizerSolver

(class from pyomo.contrib.cp.repn.docplex_writer)

class pyomo.contrib.cp.repn.docplex_writer.CPOptimizerSolver(**kwds)[source]

Bases: object

__init__(**kwds)[source]

Methods

__init__(**kwds)

available([exception_flag])

license_is_valid()

solve(model, **kwds)

Solve the model.

Attributes

CONFIG

options

Member Documentation

solve(model, **kwds)[source]

Solve the model.

Parameters:

model (Block) – a Pyomo model or block to be solved