% [x,v,flag,out,df,d2f] = fminunc (f,x,opt,...) - M*tlab-like optimization % % Imitation of m*tlab's fminunc. The optional 'opt' argument is a struct, % e.g. produced by 'optimset'. % % Supported options % ----------------- % Diagnostics, [off|on] : Be verbose % Display , [off|iter|notify|final] % : Be verbose unless value is 'off' % GradObj , [off|on] : Function's 2nd return value is derivatives % Hessian , [off|on] : Function's 2nd and 3rd return value are % derivatives and Hessian. % TolFun , scalar : Termination criterion (see 'ftol' in minimize) % TolX , scalar : Termination criterion (see 'utol' in minimize) % MaxFunEvals, int : Max. number of function evaluations % MaxIter , int : Max. number of algorithm iterations % % These non-m*tlab are provided to facilitate porting code to octave: % ----------------------- % 'MinEquiv' , [off|on] : Don't minimize 'fun', but instead return the % option passed to minimize. % % 'Backend' , [off|on] : Don't minimize 'fun', but instead return % [backend, opt], the name of the backend % optimization function that is used and the % optional arguments that will be passed to it. See % the 'backend' option of minimize. % % This function is a front-end to minimize.