adding more constraint to gams
I look into adding some additional bounds/constraints to following MODEL (program is part of simple moral hazard situation :idea:3 equations,3 variables-
(ii &iii) w(x) is variable while argument x takes 2 values-High Investment,Low investment) ;
r(x) has fixed value)
Code: Select all
[code]obj.. U =e= sum((x,y), dummy(y)*p(x,y)*(r(x) - w(x))); pc(y).. (sum(x,p(x,y)*sqrt(w(x)))-d(y))*dummy(y) =g= 0; ic(v,y).. ((sum(x,p(x,v)*sqrt(w(x)))-d(v)) -(sum(x,p(x,y)*sqrt(w(x)))-d(y)))*dummy(v) =g= 0;
r(x) & w(x) are related as below;
1.3w(x) < r(x) < 1.6 w(x)
How I can put this in my program.
I can send full program if required.
THANX IN ADVANCE (please neglect any numerical twists due to present fixed numbers-I am looking for how to capture bound/constraint into Model where argument is a set)