Hi!,
i have a function f(x) where x = [0:1:10].
the function in convex between 0-5 and non-convex between 5-10.
in GAMS, is there a way to linearize this function so that i use piecewise linearization for the convex part and SOS2 variables for the non-convex one?