Indent Domain error in variable definition

  • 17 April 2024
  • 1 reply

I am trying to define a variable with following index domain 

(i, v in Vehicles_i(i),j, j1 in Nodes_J(j))

I am getting a message ', )' is expected.

What is the error in this definition?

When I am defining as (i, v in Vehicles_i(i),j, j1)  or (i, v, j , j1 in Nodes_J(j)). It does not give any error.


Best answer by Marcel Hunting 18 April 2024, 11:15

View original

1 reply

Userlevel 5
Badge +4

Hi @rohit2365. I think it is better to use:

(i,v,j,j1) | (v in Vehicles_i(i)) and (j1 in Nodes_J(j))


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

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