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…
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…
Hi,
Maybe this model from the GAMS Test Library gives you a good starting point:
https://www.gams.com/latest/testlib_ml/libhtml/testlib_pwplib01.html
Best,
Lutz