I want to define a tuple in a CPLEX .mod file. There is a main block in the .mod file. When I try to define the tuple inside the main block, an error occurs like: Scripting parser error: missing ';' or newline between statements
. This is shown in the next figure:
But when I replace the tuple definition out of the main block, the problem is solved. Like the next figure:
Although the problem is solved with the second approach, I want to ask what is the reason for this.