cog-imperial / suspect

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

Add pow and abs operators to Interval #1

Closed fracek closed 6 years ago

fracek commented 6 years ago

Interval at the moment does not support all possible operators, this PR adds 2 more: abs and **. The power operator only works with integers, in the future we can improve it from x^y <=> exp{y ln(x)}.