GAMS Support Wiki

Site Tools

gams:linearize_a_non-linear_function

Differences

This shows you the differences between two versions of the page.

 gams:linearize_a_non-linear_function [2009/11/13 06:18]support gams:linearize_a_non-linear_function [2010/02/11 09:53] (current)gams Both sides previous revision Previous revision 2010/02/11 09:53 gams 2009/11/13 06:18 support 2009/10/27 14:04 support 2007/10/30 17:05 Franz Nelissen 2007/10/30 17:04 Franz Nelissen 2007/10/30 16:58 Franz Nelissen created 2010/02/11 09:53 gams 2009/11/13 06:18 support 2009/10/27 14:04 support 2007/10/30 17:05 Franz Nelissen 2007/10/30 17:04 Franz Nelissen 2007/10/30 16:58 Franz Nelissen created Line 313: Line 313: defout(p).. out(p) =e= sum(ps(p,​s),​ cd(p,'​output',​s-1)*b(ps) + seg(ps)); defout(p).. out(p) =e= sum(ps(p,​s),​ cd(p,'​output',​s-1)*b(ps) + seg(ps)); - defseg(ps(p,​s)).. seg(ps) =l= cd(p,'​output',​s)*b(ps);​ + defseg(ps(p,​s)).. seg(ps) =l= (cd(p,'​output',​s)-cd(p,'​output',​s-1))*b(ps); defcost(p).. cost(p) =e= sum(ps(p,​s),​ fixed(ps)*b(ps) + cd(p,'​cost',​s)*seg(ps));​ defcost(p).. cost(p) =e= sum(ps(p,​s),​ fixed(ps)*b(ps) + cd(p,'​cost',​s)*seg(ps));​