楼主: chenjiusheng
1223 1

[问答] patton_example_code运行出错 [推广有奖]

  • 3关注
  • 1粉丝

讲师

91%

还不是VIP/贵宾

-

威望
0
论坛币
34 个
通用积分
14.8500
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
31563 点
帖子
205
精华
0
在线时间
1107 小时
注册时间
2012-3-10
最后登录
2025-10-14

楼主
chenjiusheng 发表于 2014-3-5 16:39:48 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
本人matlab新手,在运行patton的代码时出现了一下问题:
>> % 2. Clayton's copula
lower = 0.0001;
theta0 = 1;
[ kappa2 LL2] = fmincon('claytonCL',theta0,[],[],[],[],lower,[],[],options,[u,v])
Warning: Trust-region-reflective algorithm does not solve this type of problem, using
active-set algorithm. You could also try the interior-point algorithm: set the Algorithm
option to 'interior-point' and rerun.
> In fmincon at 460

                                Max     Line search  Directional  First-order
Iter F-count        f(x)   constraint   steplength   derivative   optimality Procedure
    0      2      249.585      -0.9999                                         
    1      4   -0.0467364   1.102e-017            1         -678    1.14e+003   
    2      6     -22.7077      -0.4078            1         -467          206   
    3      8     -40.2514       -0.283            1         -206         71.6   
    4     10     -42.3387      -0.2165            1        -71.6         10.4   
    5     12     -42.3798      -0.2249            1        -10.4        0.571   
    6     14     -42.3799      -0.2245            1       -0.571      0.00473   

Local minimum possible. Constraints satisfied.

fmincon stopped because the predicted change in the objective function
is less than the selected value of the function tolerance and constraints
were satisfied to within the selected value of the constraint tolerance.

<stopping criteria details>

No active inequalities.

kappa2 =

    0.2246


LL2 =

  -42.3799

请问各位前辈高手,这个问题怎么解决啊?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:example patton ExamP AMPL 运行出错 problem search matlab

沙发
chenjiusheng 发表于 2014-3-5 16:41:02
自己先顶一下,请高手快快现身

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 08:01