Path: news.mathworks.com!not-for-mail
From: Alan_Weiss <aweiss@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: fmincon with multiple constraints
Date: Wed, 02 Jan 2013 10:42:44 -0500
Organization: MathWorks
Lines: 17
Message-ID: <kc1khf$8d3$3@newscl01ah.mathworks.com>
References: <kbua1k$lbk$1@newscl01ah.mathworks.com> <kbuu6k$oov$1@newscl01ah.mathworks.com>
Reply-To: aweiss@mathworks.com
NNTP-Posting-Host: ah-aweiss.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: newscl01ah.mathworks.com 1357141359 8611 172.28.17.56 (2 Jan 2013 15:42:39 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Jan 2013 15:42:39 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
In-Reply-To: <kbuu6k$oov$1@newscl01ah.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:785780

On 1/1/2013 10:09 AM, Matt J wrote:
> "Gee" wrote in message <kbua1k$lbk$1@newscl01ah.mathworks.com>...
>> I am trying to construct an m file using fmincon with multiple 
>> constraints i.e. 2 bound constraints and 1 inequality constraint. 
>> Anybody can help me?
>
> The documentation can probably help you as well as any of us could
>
> http://www.mathworks.com/help/optim/ug/fmincon.html
>
> It contains examples of its own.

Complete documentation on writing constraints:
http://www.mathworks.com/help/optim/write-constraints.html

Alan Weiss
MATLAB mathematical toolbox documentation