Skip to main content

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.

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

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


Reply


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

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