Reputation: 73
my Cplex model has this error in data section "data element has already set" but its not set, maybe i could not import data correctly, can anyone help me to solve this problem?
Upvotes: 0
Views: 115
Reputation: 10062
In your .mod you have not written =...; but = with a value or with a semi-colon.
.mod
int a;
.dat
a=2;
gives the same error but if you change
int a;
into
int a=...;
then it's fine
Upvotes: 0