FrancisWu 发表于 2010-4-4 17:41

回复 7# madio

kviaxlw 发表于 2011-8-24 10:15

O(∩_∩)O谢谢

zhongdan 发表于 2011-8-26 16:46

下下来看看:)

huangfenli 发表于 2011-8-26 17:29

看一下        

;`﹎_D`.K゛ 发表于 2012-4-4 15:46

kankan

























菁彩无限 发表于 2012-4-8 14:11

晕,刚才还是小学生呢,怎么又成学前班了?

dougualian 发表于 2013-6-12 15:53

找到了,谢谢,,

dougualian 发表于 2013-6-12 15:59

找到 谢谢  非常感谢

yangyuhonglirui 发表于 2013-9-22 09:58

我也 刚入门。。。。。。

wujianjack2 发表于 2013-9-22 21:12

    尝试用LINGO写了一下,分两种情况:
情况一:
MIN=X1+X2+X3;
PI=3.1415926535;
3*X1-@COS(X2*X3)-0.5=0;
X1^2-81*(X2+0.1)^2+@SIN(X3)+1.06=0;
@EXP(-X1*X2)+20*X3+(10*PI-3)/3=0;
@FREE(X1);@FREE(X2);@FREE(X3);

运行结果为:
  Global optimal solution found.
  Objective value:                            -0.2302872
  Objective bound:                          -0.2302872
  Infeasibilities:                               0.1365605E-08
  Extended solver steps:                            2
  Total solver iterations:                           276


                       Variable           Value        Reduced Cost
                             X1       0.4981447            0.000000
                             X2      -0.1996059            0.000000
                             X3      -0.5288260            0.000000
                             PI        3.141593              0.000000

                            Row    Slack or Surplus      Dual Price
                              1      -0.2302872            -1.000000
                              2        0.000000              0.1584432
                              3        0.000000             -0.3083673
                              4      -0.1365605E-08    -0.6465823E-01
                              5        0.000000             -0.4753296E-01

情况二:
MAX=X1+X2+X3;
PI=3.1415926535;
3*X1-@COS(X2*X3)-0.5=0;
X1^2-81*(X2+0.1)^2+@SIN(X3)+1.06=0;
@EXP(-X1*X2)+20*X3+(10*PI-3)/3=0;
@FREE(X1);@FREE(X2);@FREE(X3);

运行结果如下:
  Global optimal solution found.
  Objective value:                            -0.2359878E-01
  Objective bound:                          -0.2359878E-01
  Infeasibilities:                                  0.4289902E-12
  Extended solver steps:                            0
  Total solver iterations:                            77


                       Variable           Value        Reduced Cost
                             X1       0.5000000            0.000000
                             X2        0.000000             0.000000
                             X3      -0.5235988            0.000000
                             PI        3.141593              0.000000

                            Row    Slack or Surplus      Dual Price
                              1      -0.2359878E-01        1.000000
                              2        0.000000                 -0.1758114
                              3        0.000000                 0.3544521
                              4        0.000000                -0.6335628E-01
                              5        0.000000                 0.5274341E-01
在精度允许的情况下,结果还不唯一呢。


页: 1 [2]
查看完整版本: Newton法和Broyden法求解非线性方程组——求助!!!!!