Skip to main content
Solved

How to include a variable with different domain in equation

  • May 26, 2023
  • 1 reply
  • 47 views

Forum|alt.badge.img+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

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

1 reply

gabiservidone
Administrator
Forum|alt.badge.img+6
  • AIMMSian
  • 256 replies
  • Answer
  • May 29, 2023

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