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 question
Replies: 1   Last Post: Jan 21, 2013 10:55 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Alan Weiss

Posts: 1,334
Registered: 11/27/08
Re: fmincon question
Posted: Jan 21, 2013 10:55 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 1/21/2013 1:34 AM, Haemish wrote:
> Dear sir,
> I use fmincon function for a constraint minimization problem.
> I have some problems about fmincon and would you mind giving me an
> answer on it?
> When I use fmincon, the function has a form of
> '[x,fval]=fmincon(@objfun,x0,[],[],[],[],lb,ub,@confun,options)'
> And there is an simple example of x0 = 0, lb = 0, ub = 10.
> Even thoug I put the lb and ub non-negative, I think that the
> searching is executed on the area of all (negative ~ 0 ~ positive).
> And the final answer is found between lb and ub.
> But is there any way to find an answer in the domain of definition of
> lb to ub?
> In my real problem, it is essential to find a solution in the limited
> area (not searching out of that).
> Sincerely yours,
> Thank you.
> Minjae Kim

Take a look at the documentation on bound constraints:

This shows which algorithms satisfy bounds at all iterations.

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 1994-2015. All Rights Reserved.