Difference between revisions of "Bfgs upd.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
 
(Add See also section to function-description page)
Line 28: Line 28:
  
 
  ilya.kuprov@weizmann.ac.il
 
  ilya.kuprov@weizmann.ac.il
 +
 +
==See also==
 +
[[fmaxnewton.m]], [[lbfgs.m]], [[hessreg.m]], [[Optimal_control_module#Optimal_control_function_list:_optimisation|Optimal control optimisation]]

Revision as of 11:15, 25 April 2026


Performs a one-step BFGS Hessian update for maximisation using the argument and gradient increments from the previous step.

Syntax

H=bfgs_upd(H,dx,dg)

Arguments

H      - current BFGS approximation to the Hessian
            matrix corresponding to the *negative*
            Hessian of the objective; use [] on the
            first call
   dx     - increment in arguments between the current
            and the previous step
   dg     - increment in gradients between the current
            and the previous step
Returns:
   H      - updated BFGS approximation to the Hessian
            matrix corresponding to the *negative*
            Hessian of the objective
ilya.kuprov@weizmann.ac.il

See also

fmaxnewton.m, lbfgs.m, hessreg.m, Optimal control optimisation