View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
DFP quasi Newton method

2.5 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 3.64 KB File ID: #23543 Version: 1.0
image thumbnail

DFP quasi Newton method



It solves an optimization problem by DFP quasi Newton method.

| Watch this File

File Information

The script quasi_newton_dfp.m optimizes a general multi variable real valued function using DFP quasi Newton method. During the iterations if optimum step length is not possible then it takes a fixed step length as 1. For the theory any good book on optimization techniques can be consulted. This script is also useful in checking whether a given function is convex or concave and hence globally optimizable.
If the function is of dimension 2 and is convex then it works as classical Newton method giving one step convergence.

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
13 Jun 2011 Andreas

Hi, this script was very help- and useful for my use case. But one thing i couldn't solve by myself. Do somebody know who i could create the 3D-plot and the contour lines smoother? I couldn't found a property in the surfc-command which could solve my issue.



Comment only
13 Jun 2011 Andreas

13 Apr 2010 minciu andreea

Please can you give us an example for using this script, I'm trying to understand something because i have to write a script for fminlbfgs, broyden method and another two and i'm trying to compare the results!
Thank You!

Comment only
04 Apr 2009 Duane Hanselman

Not a function, so it pollutes the Command Window workspace. Prompts the user for all input including the function to be optimized! Does not require symbolic math toolbox as stated. Has at least one triple nested For loop. Does not appear to use any vectorization.

Contact us