Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-05-18
帖子: 2
声望力: 0 ![]() |
![]()
目标函数为f=x1+sqrt(x2^2+x1^-2)+sqrt((x1-x2)^2+x1^-2)
题目要求为: a) compute the gradient and the Hessian of this function b) write two matlab scripts that set the parameters of the optimization routines and start the optimization c) compare the efficiency of your algorithm with that of fminunc. For this, determine how often the cost function, the gradient and the hessian need to be evaluated und how long the routines need to find the minimum 希望哪位高手能帮忙解决一下,万分感谢!!! |
![]() |
![]() |