Path: news.mathworks.com!not-for-mail
From: "Steven_Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fmincon does not respect boundaries
Date: Sun, 30 Dec 2012 23:43:09 -0500
Organization: MathWorks
Lines: 20
Message-ID: <kbr54t$135$1@newscl01ah.mathworks.com>
References: <4c053e34-ee88-47b5-80e5-d32ab3ba20e1@googlegroups.com>
NNTP-Posting-Host: ah-slord.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Trace: newscl01ah.mathworks.com 1356928989 1125 172.28.9.169 (31 Dec 2012 04:43:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 31 Dec 2012 04:43:09 +0000 (UTC)
In-Reply-To: <4c053e34-ee88-47b5-80e5-d32ab3ba20e1@googlegroups.com>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Xref: news.mathworks.com comp.soft-sys.matlab:785649



<matteo.diplomacy@gmail.com> wrote in message 
news:4c053e34-ee88-47b5-80e5-d32ab3ba20e1@googlegroups.com...
> 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 ?

http://www.mathworks.com/support/solutions/en/data/1-18P0B/index.html?solution=1-18P0B

-- 
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com