lingo8.0错误11 Invalid input.A syntax error has occurred 哪里有错误 求大神指教Model: Min=1200*(x1+x2)+1500*(x3+x4); x1+x2>=30; x1+x2>=35; x1+x3+x4>=20; x2+x3+x4>=20; x1+x2+x3+x4>=40; x1+x2+x4>=30; x
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 09:24:40
lingo8.0错误11 Invalid input.A syntax error has occurred 哪里有错误 求大神指教Model: Min=1200*(x1+x2)+1500*(x3+x4); x1+x2>=30; x1+x2>=35; x1+x3+x4>=20; x2+x3+x4>=20; x1+x2+x3+x4>=40; x1+x2+x4>=30; x
lingo8.0错误11 Invalid input.A syntax error has occurred 哪里有错误 求大神指教
Model:
Min=1200*(x1+x2)+1500*(x3+x4);
x1+x2>=30;
x1+x2>=35;
x1+x3+x4>=20;
x2+x3+x4>=20;
x1+x2+x3+x4>=40;
x1+x2+x4>=30;
x3>=30;
x3+x4>=25;
x3+x4>=20;
@gin(x1);
@gin(x2);
@gin(x3);
@gin(x4);
end
lingo8.0错误11 Invalid input.A syntax error has occurred 哪里有错误 求大神指教Model: Min=1200*(x1+x2)+1500*(x3+x4); x1+x2>=30; x1+x2>=35; x1+x3+x4>=20; x2+x3+x4>=20; x1+x2+x3+x4>=40; x1+x2+x4>=30; x
你这里有很多全角的空格 所以出问题
Model:
Min=1200*(x1+x2)+1500*(x3+x4);
x1+x2>=30;
x1+x2>=35;
x1+x3+x4>=20;
x2+x3+x4>=20;
x1+x2+x3+x4>=40;
x1+x2+x4>=30;
x3>=30;
x3+x4>=25;
x3+x4>=20;
@gin(x1);
@gin(x2);
@gin(x3);
@gin(x4);
end