登录论坛

查看完整版本 : [MATLAB数学相关] 请教一道matlab优化问题


krisxu
2009-06-19, 18:00
目标函数为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
希望哪位高手能帮忙解决一下,万分感谢!!!