Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diagnostics tool for ill-posed constraints (#1454)
* Working on cancellation detection * Fixing typo * Improving efficiency * More efficiency and testing * Reducing duplicated code in tests * Finishing testing * Adding additioanl tests and clean up * Running pylint * Adding constraint walker to diagnostics toolbox * Addressing simple review comments * Accumulate node rather than str(node) * Clean up some tests * Supporting ranged expressions * Apply suggestions from code review * Regorganising and fixing pylint issues * Fixing false positives for linking constraints * Fixing unused variable warning * Fixing bug related to external functions with string arguments * Addressing comments * removing debugging prints * Addressing more comments * Debugging issue with nested external functions * Adding todo * Relax test tolerance due to Windows failures * Adding catches for string arguments/values * Test for nested external functions * Fixing bug in walker logic for string arguments to external funcitons * Address double counting of constraints * Fixing typo * Bumping Pyomo version * Adding zero tolerance * Adding test for zero tolerance * Fixing typo * Logic to skip scaled equality constraints * Handling mole fraction type constraints * Catching negations * Fixing typos * Limit of cancelling combinations * Fixing typos * Displaying cancelling terms to user * More detail of mismatches * Adding hooks and warnings about new config arguments * Expression aware to string method * Moving expression writer to util/misc * Typos and comments * Using StrEnum
- Loading branch information