Erorr 149

Problems with modeling
Post Reply
osmane
User
User
Posts: 1
Joined: 2 years ago

Erorr 149

Post by osmane »

cons8(j).. sum(i, z(i,j)) =e= d(j) * s(i);

why am i getting error 149 here

s(i) service level of state i
d(j) Demand of state j
z(i,j) number of humanitarian kits sent from state i to state j
User avatar
bussieck
Moderator
Moderator
Posts: 1043
Joined: 7 years ago

Re: Erorr 149

Post by bussieck »

What i should GAMS use for the s(i)? The control of i stops with the sum. The equation is controlled over j.

-Michael
Post Reply