I have a matrix T(i,j,k,s).
I want that for each s, i and j are equal.
How can I do this?Best
Your identifier T has 4 indices (i,j,k, s)
What do you want to happen with k ?
also k should be the same.
@graleo , you are confusing index values with the value of T.
k cannot be the same, k will take values of whichever set it belongs to.
T(1,1,1,1), T(1,2,1,1), T(1,2,2,1) and so on and each of these will have a data value.
If you want an index domain for each s and values of i,j,k are equal - Then
index domain: (i,j,k,s) | ord(i) = ord(j) = ord(k)
This will create only those combinations (1,1,1,s), (2,2,2,s) and so on
how can I write this in aimms?I have to select the constraint and then what can I write?Best
Looks like you want to have a constraint which enforces
for a given s, values of T must be equal for all (i, j, k)
T(i1,j1,k1,s1) = T(i2,j1,k1,s1) and something.
This is similar to your other post, please try not to create duplicate posts.
Create extra indices in your sets I, J, K and use the instructions given in https://community.aimms.com/aimms-developer-12/non-anticipativity-constraint-440#post1027
Was Mohan’s answer sufficient in providing a solution to your problem?
Already have an account? Login
Please use your business or academic e-mail address to register
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
Didn't find what you were looking for? Try searching on our documentation pages:
AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator