ERROR Domain violation for set

Problems with syntax of GAMS
Post Reply
mahyar
User
User
Posts: 2
Joined: 6 years ago

ERROR Domain violation for set

Post by mahyar »

In my model there is a variable x_i,j,k where i belong to J=J_1∪J_2∪J3.
for some constraints i is belonged to J and for other constraints i is belonged to J_1 , J2 ,....
for last case I am getting the error: Domain violation for set.
x_i,j,k is defined as binary variable.

Any help would be appreciated.
User avatar
Renger
Posts: 639
Joined: 7 years ago

Re: ERROR Domain violation for set

Post by Renger »

Hi

Without some code that reproduces the error, it is only for the clairvoyant to help you.

Cheers

Renger
____________________________________
Enjoy modeling even more: Read my blog on modeling at The lazy economist
Post Reply