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: termination for function:lsqnonlin
Replies: 2   Last Post: Apr 5, 2013 3:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,430
Registered: 11/27/08
Re: termination for function:lsqnonlin
Posted: Apr 5, 2013 8:00 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 4/4/2013 10:23 AM, Toan Cao wrote:
> Hi everyone,
> I am using function "lsqnonlin" for optimization process in which
> "Levenberg-Marquardt" algorithm is chosen.
> Given a cost function F, if i would like to terminate optimization
> process and use following equation:
> |F(k) - F(k-1)| < alpha*(1+F(k)), where F(k) is cost function value at
> iteration k
> How can i set up this option for the function "lsqnonlin"?
> Thanks so much for your advice.
> Toan

Before you do that you might want to understand what termination
conditions lsqnonlin already uses.

You can stop any nonlinear solver using any criterion you like by using
an output function:

Good luck,

Alan Weiss
MATLAB mathematical toolbox documentation

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.