Page 1 of 1

Erorr 149

Posted: Sun Apr 07, 2024 1:19 am
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

Re: Erorr 149

Posted: Mon Apr 08, 2024 8:25 am
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