hdavid16 / DisjunctiveProgramming.jl

A JuMP extension for Generalized Disjunctive Programming
MIT License
27 stars 3 forks source link

interval arithmetic function fails with nonlinear functions #19

Closed hdavid16 closed 2 years ago

hdavid16 commented 2 years ago

if nonlinear functions are used that contain a string that is the same one of the model variables, the Big-M reformulation fails.

For example: exp(x) gets converted to e[-1,1]p[-1,1] if x gets substituted with the interval [-1,1]

hdavid16 commented 2 years ago

What happens if a user creates a variable called exp? Need to account for this