Hi I have a problem issue with using the exponential function within infiniteopt models.
Describe the bug
an exponential function with infinite parameters in the infinite model causes the exponential function to be doubled in the output.
To Reproduce
using InfiniteOpt
#Setup the model
#create a new model object
model = InfiniteModel();
#add any infinite parameter
@infinite_parameter(model, q in [-5, 5], num_supports = 11)
#try any function with an exponential
print(exp(-(q-1)^4))
output then has the exponential doubled
Desktop (please complete the following information):
- OS linux
- InfiniteOpt v0.5.9
- Julia Version: both in 1.11.3 and 1.10.4