ERROR Domain violation for set

Problems with syntax of GAMS
mahyar
User
User
Posts: 2
Joined: 1 month ago

ERROR Domain violation for set

Postby mahyar » 1 month ago

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: 54
Joined: 1 year ago

Re: ERROR Domain violation for set

Postby Renger » 1 month ago

Hi

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

Cheers

Renger


Who is online

Users browsing this forum: No registered users and 1 guest