Skip to main content

The variable X is with the index domain i, while the variable Y is with the index domain j. The number of element in j is twice that of i, which means J = 2*I when seeing these two index as number.

Now I want to write a constraint:

X(i) <= Y(2*i)

How can I do this in AIMMS?

 

Hi @Chunyang, in the attached project you can find an example to solve your problem. 


Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator