2.5

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

DFP quasi Newton method

by Bapi Chatterjee

 

03 Apr 2009

It solves an optimization problem by DFP quasi Newton method.

| Watch this File

File Information
Description

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
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.

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!

13 Jun 2011 Andreas  
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.

Thx,

Andi

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
optimization Bapi Chatterjee 03 Apr 2009 15:10:23
finance Bapi Chatterjee 03 Apr 2009 15:10:23
quasi newton Bapi Chatterjee 03 Apr 2009 15:10:23
dfp Bapi Chatterjee 03 Apr 2009 15:10:23
convex Bapi Chatterjee 03 Apr 2009 15:10:23
maximization Bapi Chatterjee 03 Apr 2009 15:10:23
minimization Bapi Chatterjee 03 Apr 2009 15:10:23
unconstrained Bapi Chatterjee 03 Apr 2009 15:10:23
convex a 22 Jan 2012 11:31:20

Contact us at files@mathworks.com