How to include a variable with different domain in equation

  • 26 May 2023
  • 1 reply

Badge +4

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?



Best answer by gabiservidone 29 May 2023, 15:12

View original

1 reply

Userlevel 5
Badge +6

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


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

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