Originally posted by: SystemAdmin
[zhig_wan said:]
.mod
int E[0..2][0..8] = ...;
.data
E from DBRead(db,"SELECT * FROM elig");
data in table elig
colum1 colum2 colum3
1 1 0
0 0 1
0 1 0
1 1 1
1 0 0
1 0 0
0 0 1
1 0 1
0 1 1
E should be: [[1,0,0,1,1,1,0,1,0],[1,0,1,1,0,0,0,0,1],[0,1,0,1,0,0,1,1,1]]
but after reading it is:[[1,1,0,0,0,0,0,0,0],[1,1,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]]
Can anybody tell me how to solve this problem?
Thank you
zhig_wan
#DecisionOptimization#OPLusingCPLEXOptimizer