util

Exceptions

IncompatibleModelError(*args)

NoDualsError(*args)

NoFeasibleSolutionError(*args)

NoOptimalSolutionError(*args)

NoReducedCostsError(*args)

NoSolutionError(*args)

SolverError(*args)

General error raised by Pyomo solver interfaces when processing Solver results.

Functions

collect_vars_and_named_exprs(expr)

get_objective(block)

Get current active objective on a block.