cog-imperial / suspect

Special Structure Detection for Pyomo
https://cog-imperial.github.io/suspect/
Apache License 2.0
26 stars 4 forks source link

use math.isclose instead of np.isclose #14

Closed michaelbynum closed 3 years ago

michaelbynum commented 3 years ago

On the problem I was testing, this change improved the performance of FBBT by a factor of 2.

michaelbynum commented 3 years ago

I realize now why the checks for None were needed. I'll add those back in. Sorry.