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: Reduce the number of fminsearch iterations
Replies: 2   Last Post: Oct 30, 2013 9:37 AM

Advanced Search

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

Posts: 1
Registered: 10/30/13
Reduce the number of fminsearch iterations
Posted: Oct 30, 2013 6:18 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Is it possible to make the fminsearch algorithm stop as soon as it evaluates the objective function at a given x as zero?
I am optimizing for one variable and what happens is that the fminsearch finds a point where the objective function f(x) = 0, but it continues to iterate until the simplex is contracted around that value of x that gives 0. I would like it to stop as soon as the fun(x)=0

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.