LINGO 错误1017 帮忙看下我的式子有什么问题,

1个回答

  • 变量与系数之间要加乘号*,每一句结束都要加分号;

    Max=11328-S1-S2-S3-S4-S5-S6;

    S1=0.55*X1^2+2217.6*K-0.1*X1-0.7;

    S2=0.55*X2^2+1689.6*K-0.1*X1-0.1*X2+2.5;

    S3=0.6*X3^2+2361.6*K-0.1*X1-0.1*X2-0.1*X3+6.6;

    S4=0.6*X4^2+3859.2*K-0.1*X1-0.1*X2-0.1*X3-0.1X*4+13.3;

    S5=0.65*X5^2+1560*K-0.1*X1-0.1*X2-0.1*X3-0.1*X4-0.1*X5+15.8;

    S6=0.65*X6^2+1809.6*K-0.1*X1-0.1*X2-0.1*X3-0.1*X4-0.1*X5-0.1*X6+18.7;

    X1+X2+X3+X4+X5+X6>=285;