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: fmincon does not respect boundaries
Replies: 3   Last Post: Jan 3, 2013 1:26 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: fmincon does not respect boundaries
Posted: Jan 2, 2013 10:41 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 12/26/2012 4:27 PM, wrote:
> I have a problem with ten variables.
> I have lower and upper boundaries for each variable. During the optimization process (e.g 2nd iteration), the fmincon uses input variables violating the boundaries. This behavior leads an error in my function, because it loses its consistency.
> Why does fmincon violate the imposed boundaries, lb and ub ?

This issue can be avoided by using the interior-point or sqp algorithm:

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.