Hi! We were able to execute the model already but we're having warnings that the result for this column is similar with the other column. Take for example the constraints 22 and 26? How do we code the "summation"? Sorry I'm just a beginner and I have no one to teach me and I only have a month to study everything because the deadline is just for 2 months.
Our aimms model can be downloaded here: https://drive.google.com/file/d/1zcGWpj_FOGOrUKZiCdutLQ_gxANGrPI6/view?usp=sharingMODEL 2
Solved
How to code Summation of (inverted A)(w)-element of-W in constraints?
Best answer by deannezhang
If you have a parameter NeighborSubBlocks(e,k) = 1 when k is one of the pair subblocks of neighbor block v, then the constraint is
index domain: (e, m)
definition:
sum((v,k)|NeighborSubBlocks(e,k) , l(v,m) * x(v,k))
View originalindex domain: (e, m)
definition:
sum((v,k)|NeighborSubBlocks(e,k) , l(v,m) * x(v,k))
This topic has been closed for comments
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.