lingo程序有问题,MODEL:SETS:CLZ/A1..A3/;LJZ/D1..D3/QI;JIAGE(LIZ,CLZ):L,B;ENDSETSDATA:L=0 2 32 0 43 4 0;Q=1 2 3;ENDDATAMIN=@SUM(CLZ(J):@SUM(LJZ(I):(2.07*10^(-4)*1.41*L(I,J)*Q(I)))*B(I,J));@FOR(CLZ(J):@SUM(LJZ(I):Q(I)*B(I,J))(J)
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/16 09:53:27
lingo程序有问题,MODEL:SETS:CLZ/A1..A3/;LJZ/D1..D3/QI;JIAGE(LIZ,CLZ):L,B;ENDSETSDATA:L=0 2 32 0 43 4 0;Q=1 2 3;ENDDATAMIN=@SUM(CLZ(J):@SUM(LJZ(I):(2.07*10^(-4)*1.41*L(I,J)*Q(I)))*B(I,J));@FOR(CLZ(J):@SUM(LJZ(I):Q(I)*B(I,J))(J)
lingo程序有问题,
MODEL:
SETS:
CLZ/A1..A3/;
LJZ/D1..D3/QI;
JIAGE(LIZ,CLZ):L,B;
ENDSETS
DATA:L=0 2 3
2 0 4
3 4 0;
Q=1 2 3;
ENDDATA
MIN=@SUM(CLZ(J):
@SUM(LJZ(I):
(2.07*10^(-4)*1.41*L(I,J)*Q(I)))*B(I,J));
@FOR(CLZ(J):@SUM(LJZ(I):Q(I)*B(I,J))(J)
lingo程序有问题,MODEL:SETS:CLZ/A1..A3/;LJZ/D1..D3/QI;JIAGE(LIZ,CLZ):L,B;ENDSETSDATA:L=0 2 32 0 43 4 0;Q=1 2 3;ENDDATAMIN=@SUM(CLZ(J):@SUM(LJZ(I):(2.07*10^(-4)*1.41*L(I,J)*Q(I)))*B(I,J));@FOR(CLZ(J):@SUM(LJZ(I):Q(I)*B(I,J))(J)
错误太多了,而且表达不清晰,注释的行都有问题,建议贴出数学模型或原问题
MODEL:
SETS:
CLZ/A1..A3/;
LJZ/D1..D3/QI;!;
JIAGE(LIZ,CLZ):L,B;!1;
ENDSETS
DATA:L=0 2 3
2 0 4
3 4 0;
Q=1 2 3;
ENDDATA
MIN=@SUM(CLZ(J):
@SUM(LJZ(I):
(2.07*10^(-4)*1.41*L(I,J)*Q(I)))*B(I,J));!;
@FOR(CLZ(J):@SUM(LJZ(I):Q(I)*B(I,J))(J)