Running problem with the piecewise linear example code in the GAMS portal
Posted: Wed Feb 15, 2023 8:38 pm
Hi,
I have been trying to execute the code given at :https://www.gams.com/latest/gamslib_ml/ ... idpwl.html
But I am getting this error message: I have these lines in my pwlfunc.inc file:
BidPwl s x y l g v
loop(BidPwl_Seg(v,s)$(ord(s) > 2),
BidPwl(v,s,'y') = BidPwl(v,s-1,'y') + BidPwl(v,s-1,'g')*BidPwl(v,s-1,'l');
Can anyone help me understand what I am doing wrong here.
Regards,
Jubeyer
);
I have been trying to execute the code given at :https://www.gams.com/latest/gamslib_ml/ ... idpwl.html
But I am getting this error message: I have these lines in my pwlfunc.inc file:
BidPwl s x y l g v
loop(BidPwl_Seg(v,s)$(ord(s) > 2),
BidPwl(v,s,'y') = BidPwl(v,s-1,'y') + BidPwl(v,s-1,'g')*BidPwl(v,s-1,'l');
Can anyone help me understand what I am doing wrong here.
Regards,
Jubeyer
);