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: Preventing negative values in fmincon
Replies: 10   Last Post: May 28, 2008 12:03 PM

Advanced Search

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

Posts: 293
Registered: 1/23/06
Re: Preventing negative values in fmincon
Posted: May 25, 2008 11:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Assuming you use for example KNITRO or SNOPT as mentioned it's either
a matter of a flag or precision. The numerical differentiation
routines in TOMLAB are safe-guarded against simple bounds, but best is
to use TOMLAB /MAD so that you obtain floating point precision for the
derivatives as well.

Best wishes, Marcus
Tomlab Optimization Inc.

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.