Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
fmincon with multiple constraints

Subject: fmincon with multiple constraints

From: Gee

Date: 1 Jan, 2013 09:25:08

Message: 1 of 3

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?

Subject: fmincon with multiple constraints

From: Matt J

Date: 1 Jan, 2013 15:09:08

Message: 2 of 3

"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.

Subject: fmincon with multiple constraints

From: Alan_Weiss

Date: 2 Jan, 2013 15:42:44

Message: 3 of 3

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

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us