Code of one Constraint
Posted: Wed Nov 27, 2019 9:05 am
Hello
I have a problem with one of the constraints of my model.
this constraint is:
and I code this:
But GAMS tell me Error 148: Dimension different – The symbol is referenced with more/less indices as declared.
All of my parameters are correct and I checked these.
Please help me, How I can fix it?
TNX
I have a problem with one of the constraints of my model.
this constraint is:
and I code this:
Code: Select all
co13(j,k,s) .. pi0(j,k,s) =e= sum(nn,Power(landaa(j,k,s)/mu(k,s),nn)) * (1/fact(nnn)) + (1/fact(B(j,k,s))) * (power(landaa(j,k,s)/mu(k,s),B(j,k,s))) * (1-(landaa(j,k,s)/(B(j,k,s)*mu(k,s)))) ;
All of my parameters are correct and I checked these.
Please help me, How I can fix it?
TNX