assert_units_consistent (obj)
|
This method raises an exception if the units are not consistent on the passed in object. |
assert_units_equivalent (*args)
|
Raise an exception if the units are inconsistent within an expression, or not equivalent across all the passed expressions. |
check_units_equivalent (*args)
|
Returns True if the units associated with each of the expressions passed as arguments are all equivalent (and False otherwise). |
identify_inconsistent_units (block)
|
This function generates a ComponentSet of all Constraints, Expressions, and Objectives in a Block or model which have inconsistent units. |