No BSD License  

Highlights from
Unconstrained optimization using Newton

3.0

3.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 3.94 KB File ID: #15071
image thumbnail

Unconstrained optimization using Newton

by Giovani Tonel

 

21 May 2007 (Updated 24 May 2007)

Deterministic Unconstrained optimization method using Newton

| Watch this File

File Information
Description

Deterministic Unconstrained optimization method using Newton.

MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
24 May 2007 John D'Errico

Ok, yes, my expectation was that when I saw this, before I downloaded it I expected it to be a student's homework assigment. In fact, this is a reasonably carefully crafted tool.

One serious issue is that this code requires you to provide explicit functional forms for the gradient and Hessian. There is a finite difference capability in the code, but it apparently does not run unless you provide at least a functional gradient or a Hessian matrix. (Unverified, because I could not get it to run when I tried it with an actual 2-d gradient function.) It called my function of two variables with a scalar input.

Some minor comments:

- While this claims to be a unconstrained solver, it actually allows bound constraints on the parameters.

- I see that everywhere in the comments and help, there are references to this as an optimization code. But in no place does it actually say if it will minimize or maximize the objective. One would think this to be an important piece of information.

Given the problems that I had getting this to run, it would seem that some working examples would be tremendously useful for most users.

In general, if you have the optimization toolbox, I'd suggest you use it instead. If you don't have that TB, and you can get this function to run, it should do its job well. Given the time that the author has spent on writing this code, I do wish they had spent a little more time on making it usable by others.

24 May 2007 John D'Errico

Sorry, I missed that there is a "problem" argument, that allows you to minimize or maximize as your choice.

Even so, I wish the author was a little more verbose in the help explanations for the parameters. The help does not tell you very much. You need to edit the code to learn some specifics. As it is, this code is probably useful to the author, but other users will need to do more work to learn how to use it.

29 May 2007 Zhijun Wang

The author should provid "G: gradient vector function".

18 Apr 2010 minciu andreea

Please provide us an example of running this script!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
optimization Giovani Tonel 22 Oct 2008 09:13:27
unconstrained optimization Giovani Tonel 22 Oct 2008 09:13:27
newton Giovani Tonel 22 Oct 2008 09:13:27
deterministic Giovani Tonel 22 Oct 2008 09:13:27

Contact us at files@mathworks.com