LINGO程序遇到问题,192model:sets:II/1..24/;PP/1..8/;KK/1..8/;links(II,PP):X,V;endsetsdata:v=0 1067 94.1 1447.3 1928.7 1906.4 872.4 1515.51067 0 962.6 1474.3 1212.8 1258.3 291.2 1676.294.1 962.6 0 1441.2 1861.5 1845.1 788.6 1544.51447.3 1474.3 14
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/23 12:46:34
LINGO程序遇到问题,192model:sets:II/1..24/;PP/1..8/;KK/1..8/;links(II,PP):X,V;endsetsdata:v=0 1067 94.1 1447.3 1928.7 1906.4 872.4 1515.51067 0 962.6 1474.3 1212.8 1258.3 291.2 1676.294.1 962.6 0 1441.2 1861.5 1845.1 788.6 1544.51447.3 1474.3 14
LINGO程序遇到问题,192
model:
sets:
II/1..24/;
PP/1..8/;
KK/1..8/;
links(II,PP):X,V;
endsets
data:
v=0 1067 94.1 1447.3 1928.7 1906.4 872.4 1515.5
1067 0 962.6 1474.3 1212.8 1258.3 291.2 1676.2
94.1 962.6 0 1441.2 1861.5 1845.1 788.6 1544.5
1447.3 1474.3 1441.2 0 1103.4 947.6 1191.7 265.9
1928.7 1212.8 1861.5 1103.4 0 136.1 1159 1347.4
1906.4 1258.3 1845.1 947.6 136.1 0 1173 1220.2
872.4 291.2 788.6 1191.7 1159 1173 0 1405.8
1515.5 1676.2 1544.5 265.9 1347.4 1220.2 1405.8 0;
enddata
Error Code:29
Error Text:
Invalid number of initialization values in a DATA statement.
The required number of values is:192
LINGO程序遇到问题,192model:sets:II/1..24/;PP/1..8/;KK/1..8/;links(II,PP):X,V;endsetsdata:v=0 1067 94.1 1447.3 1928.7 1906.4 872.4 1515.51067 0 962.6 1474.3 1212.8 1258.3 291.2 1676.294.1 962.6 0 1441.2 1861.5 1845.1 788.6 1544.51447.3 1474.3 14
你那个V是links集里面的吗 错误提示很清楚 如果是links集那应该有192个数 你这个明显不够