Hi, I am getting error 148 (Dimension different - The symbol is referenced with more/less
indices as declared) when using the sum equation. I am trying to sum a over w and k
The following 3 lines keep giving me errors, can someone make any suggestions?
EqCost(k)…
Cost(k) =e= sum((a),w$(not sameas(w,k)),TrCost(w,k,a)*Bought(k,w));
EqPollution(k)…
Pollution(k) =e= Used(k)+sum((w,a),w$(not sameas(w,k)),Bought(k,w));
EqBought(k)…
sum(w$(not sameas(w,k),Bought(k,w)) =l= sum((w,a),License(k));