作业帮 > 综合 > 作业

运行程序lingo程序,出现unexpected jacobian overflow

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/06 13:48:39
运行程序lingo程序,出现unexpected jacobian overflow
min=0.125*@sqrt(x1^2+(x2-x1)^2)+0.125*@sqrt((x2-x1)^2+(x3-x2)^2)+0.125*@sqrt((x4-x2)^2+x3^2)+0.125*@sqrt(x1^2+x4^2)
+0.125*@sqrt((x1-5)^2+5^2)+0.125*@sqrt((x1-5)^2+(x2-5)^2)+0.125*@sqrt((x2-5)^2+(x3-5)^2)+0.125*@sqrt((x4-5)^2+5^2)
x1
min这句后面一定要写分号啊 你的lingo版本不好 最好换一个
min=0.125*@sqrt(x1^2+(x2-x1)^2)+0.125*@sqrt((x2-x1)^2+(x3-x2)^2)+0.125*@sqrt((x4-x2)^2+x3^2)+0.125*@sqrt(x1^2+x4^2)
+0.125*@sqrt((x1-5)^2+5^2)+0.125*@sqrt((x1-5)^2+(x2-5)^2)+0.125*@sqrt((x2-5)^2+(x3-5)^2)+0.125*@sqrt((x4-5)^2+5^2)
x1