Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: shiela
Dear everyone,
Can anybody explain what are the causes of Error: Data element "x" has already been set?
I have been receiving this error and do not know how to deal with it.
Thanks!
Hi
let me give you an example.
In the .mod
int a=2;
In the .dat
a=2;
then you get Data element "a" has already been set
If you turn int a=2; in the .mod into int a=...; everything will be fine
regards
PS:
In the documentation at IDE and OPL > Appendixes you have a list of errors with some infos
Alex,
I found that in my .mod i just declared
int a;
but should be with some value, just as you said.
Thanks much!