util

Classes

GDPTree()

Stores a forest representing the hierarchy between GDP components on a model: for single-level GDPs, each tree is rooted at a Disjunction and each of the Disjuncts in the Disjunction is a leaf.

INFEASIBLE()

NONOPTIMAL()

NORMAL()

Functions

check_model_algebraic(instance)

Checks if there are any active Disjuncts or Disjunctions reachable via active Blocks.

clone_without_expression_components(expr[, ...])

A function that is used to clone an expression.

get_gdp_tree(targets, instance[, knownBlocks])

get_src_constraint(transformedConstraint)

Return the original Constraint whose transformed counterpart is transformedConstraint

get_src_disjunct(transBlock)

Return the Disjunct object whose transformed components are on transBlock.

get_src_disjunction(xor_constraint)

Return the Disjunction corresponding to xor_constraint

get_transformed_constraints(srcConstraint)

Return the transformed version of srcConstraint

is_child_of(parent, child[, knownBlocks])

preprocess_targets(targets, instance, ...[, ...])

verify_successful_solve(results)