这个lingo程序错在哪?我编了个lingo程序,测试的时候出错,感激不尽~以下是程序“MODEL:title 码流提取问题;SETS:job/1..5/;worker/1..16/;assign(job,worker):x,a,b;ENDSETSDATA:a=30.8667,32.7657,35.4304,37.781,40.3113,28.6755,
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 09:38:55
这个lingo程序错在哪?我编了个lingo程序,测试的时候出错,感激不尽~以下是程序“MODEL:title 码流提取问题;SETS:job/1..5/;worker/1..16/;assign(job,worker):x,a,b;ENDSETSDATA:a=30.8667,32.7657,35.4304,37.781,40.3113,28.6755,
这个lingo程序错在哪?
我编了个lingo程序,测试的时候出错,感激不尽~以下是程序“
MODEL:
title 码流提取问题;
SETS:
job/1..5/;
worker/1..16/;
assign(job,worker):x,a,b;
ENDSETS
DATA:
a=30.8667,32.7657,35.4304,37.781,40.3113,
28.6755,31.8961,34.8963,37.4108,40.0824,
30.2561,32.6484,35.4088,37.8686,40.2635,
30.2833,32.5124,35.1371,37.3566,39.7219,
29.942,32.205,34.6833,37.2687,40.1809,
29.7539,32.0513,34.658,37.198,39.8094,
29.0566,31.8412,34.6468,37.3547,40.1652,
29.8467,32.377,35.0818,37.827,40.4472,
29.8031,32.4157,34.9691,37.535,39.9335,
29.4921,32.0518,34.6152,37.1647,39.9821,
29.3647,31.9313,34.5256,37.2138,39.9026,
29.2523,31.8682,34.5245,37.1129,39.7347,
29.229,31.7193,34.3432,37.0233,39.7464,
29.2184,31.7919,34.3308,37.004,39.7655,
29.0891,31.5521,34.1765,37.1134,40.028,
28.8001,31.6708,34.3249,37.0865,39.7946;
b=9576,17592,37104,70528,124200,
7800,17184,37512,71168,124432,
4824,12032,26448,52168,94144,
1632,3656,7192,13896,28584,
1520,4192,9632,21512,45512,
1704,4512,10328,20904,38456,
8256,16360,34936,68384,122688,
4928,11360,25480,51032,94056,
1240,3328,6872,13168,24800,
1352,3760,8848,18040,37816,
1576,4168,9064,19736,38040,
1896,4536,9816,19056,36776,
1072,2912,7024,15784,33056,
1376,3928,9336,19944,39448,
1568,5152,14104,31976,64832,
2952,7760,18376,37208,69216;
all=3000000;
ENDDATA
max=@sum(assign:psnr*x);
@for(@sum(assign:bit*x)
这个lingo程序错在哪?我编了个lingo程序,测试的时候出错,感激不尽~以下是程序“MODEL:title 码流提取问题;SETS:job/1..5/;worker/1..16/;assign(job,worker):x,a,b;ENDSETSDATA:a=30.8667,32.7657,35.4304,37.781,40.3113,28.6755,
MODEL:
title 码流提取问题;
SETS:
job/1..5/;
worker/1..16/;
assign(job,worker):x,a,b;
ENDSETS
DATA:
a=30.8667,32.7657,35.4304,37.781,40.3113,
28.6755,31.8961,34.8963,37.4108,40.0824,
30.2561,32.6484,35.4088,37.8686,40.2635,
30.2833,32.5124,35.1371,37.3566,39.7219,
29.942,32.205,34.6833,37.2687,40.1809,
29.7539,32.0513,34.658,37.198,39.8094,
29.0566,31.8412,34.6468,37.3547,40.1652,
29.8467,32.377,35.0818,37.827,40.4472,
29.8031,32.4157,34.9691,37.535,39.9335,
29.4921,32.0518,34.6152,37.1647,39.9821,
29.3647,31.9313,34.5256,37.2138,39.9026,
29.2523,31.8682,34.5245,37.1129,39.7347,
29.229,31.7193,34.3432,37.0233,39.7464,
29.2184,31.7919,34.3308,37.004,39.7655,
29.0891,31.5521,34.1765,37.1134,40.028,
28.8001,31.6708,34.3249,37.0865,39.7946;
b=9576,17592,37104,70528,124200,
7800,17184,37512,71168,124432,
4824,12032,26448,52168,94144,
1632,3656,7192,13896,28584,
1520,4192,9632,21512,45512,
1704,4512,10328,20904,38456,
8256,16360,34936,68384,122688,
4928,11360,25480,51032,94056,
1240,3328,6872,13168,24800,
1352,3760,8848,18040,37816,
1576,4168,9064,19736,38040,
1896,4536,9816,19056,36776,
1072,2912,7024,15784,33056,
1376,3928,9336,19944,39448,
1568,5152,14104,31976,64832,
2952,7760,18376,37208,69216;
all=3000000;
ENDDATA
max=@sum(assign:psnr*x);
@sum(assign:b*x)