Skip to content

Commit

Permalink
Adding slight negative tolerance to post processing in FME test to se…
Browse files Browse the repository at this point in the history
…e if that makes osx/3.12 happier?
  • Loading branch information
emma58 committed Oct 3, 2024
1 parent 52d5667 commit 0776d04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def test_post_processing(self):
fme = TransformationFactory('contrib.fourier_motzkin_elimination')
fme.apply_to(m, vars_to_eliminate=disaggregatedVars, do_integer_arithmetic=True)
# post-process
fme.post_process_fme_constraints(m, SolverFactory('glpk'))
fme.post_process_fme_constraints(m, SolverFactory('glpk'), tolerance=-1e-4)

constraints = m._pyomo_contrib_fme_transformation.projected_constraints
self.assertEqual(len(constraints), 11)
Expand Down

0 comments on commit 0776d04

Please sign in to comment.