主题: [MATLAB数学相关] 请教一道matlab优化问题
查看单个帖子
旧 2009-06-19, 18:00   #1
krisxu
初级会员
 
注册日期: 2009-05-18
帖子: 2
声望力: 0
krisxu 正向着好的方向发展
默认 请教一道matlab优化问题

目标函数为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
希望哪位高手能帮忙解决一下,万分感谢!!!
krisxu 当前离线   回复时引用此帖