Hello,
Is there a way a way to work with piecewise non-linear functions in NLP or DNLP?
if x < x_max then: y(x) = a * x ^ c
if x > x_max then: y(x) = b * x ^ d
I have no idea how the syntax should look like...
Piecewise Non-Linear Function
Re: Piecewise Non-Linear Function
Hi,
Maybe this model from the GAMS Test Library gives you a good starting point:
https://www.gams.com/latest/testlib_ml/ ... lib01.html
Best,
Lutz
Maybe this model from the GAMS Test Library gives you a good starting point:
https://www.gams.com/latest/testlib_ml/ ... lib01.html
Best,
Lutz