这段lingo程序错在哪
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/11/09 09:47:43
这段lingo程序错在哪
min=x1+x2+y1+y2;
1.45273a+0.64b-x1+y1=0;
0.94284a-0.42b-x2+y2=0;
x1+y1=@abs(1.45273a+0.64b);
x2+y2=@abs(0.94284a-0.42b);
a+b=1;
min=x1+x2+y1+y2;
1.45273a+0.64b-x1+y1=0;
0.94284a-0.42b-x2+y2=0;
x1+y1=@abs(1.45273a+0.64b);
x2+y2=@abs(0.94284a-0.42b);
a+b=1;
漏掉几个乘号了.
min=x1+x2+y1+y2;
1.45273*a+0.64*b=x1-y1;
0.94284*a-0.42*b=x2-y2;
x1+y1=@abs(1.45273*a+0.64*b);
x2+y2=@abs(0.94284*a-0.42*b);
a+b=1;
min=x1+x2+y1+y2;
1.45273*a+0.64*b=x1-y1;
0.94284*a-0.42*b=x2-y2;
x1+y1=@abs(1.45273*a+0.64*b);
x2+y2=@abs(0.94284*a-0.42*b);
a+b=1;