## Search found 3 matches

3 months ago
Forum: Modeling
Topic: ALIASING -Whether it increase no of constraints by assigning 2 scenarios to one constraint
Replies: 1
Views: 394

### ALIASING -Whether it increase no of constraints by assigning 2 scenarios to one constraint

Kindly help me to understand how Alias (y,v) works to get 2 constraints [u][b](ie,high.low, high.high )[/b][/u] from single Equation of IC (incentive Compatibility) Constraint; 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; Output looks like this; [/img]...
4 months ago
Forum: Modeling
Topic: adding more constraint to gams
Replies: 3
Views: 359

### Re: adding more constraint to gams

Dear Renger, My great thanks for that –It worked; 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; upperb(x).. 1.2*w(x) =l= r(x); lowerb(x)..r(x)...
4 months ago
Forum: Modeling
Topic: adding more constraint to gams
Replies: 3
Views: 359

### adding more constraint to gams

Hi, I look into adding some additional bounds/constraints to following MODEL (program is part of simple moral hazard situation :idea:3 equations,3 variables- (i)U (ii &iii) w(x) is variable while argument x takes 2 values-High Investment,Low investment) ; r(x) has fixed value) [code]obj.. U =e= sum(...