The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: fminunc gradient question
Replies: 1   Last Post: Oct 17, 2005 5:00 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Marcelo Marazzi

Posts: 24
Registered: 8/29/05
Re: fminunc gradient question
Posted: Oct 17, 2005 5:00 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

What version of MATLAB are you using? Can you set the options
Display to 'iter' (via optimset) and paste the output?


m!ke wrote:
> I have an optimization problem with about 19 dimensions. For some
> reason, using the medium-scale algorithm and fminunc, it does not
> calculate a gradient at even the first iteration and declares that
> there was no change in gradient as it bails. When I look at my
> parameter file, it is clear that no finite-difference gradient calcs
> have been made since the parameter file remains unchanged. However,
> when I run it with a two-dimension version it works fine.
> Any suggestions on why the gradient might not be calcualted are mich
> appreciated!
> peace,
> m!ke

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.