Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

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,374
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, matteo.diplomacy@gmail.com 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]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.