The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: fmincon problem
Replies: 5   Last Post: Jul 18, 2011 3:22 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 33
Registered: 3/21/08
Re: fmincon problem
Posted: Jul 18, 2011 3:22 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I think that the use of 'interior-point' algorithm solves my problem. If the program is feasible, it gives proper solution. For infeasible program, the code gives weird output but I can check exitflag to know that it is infeasible.

Thanks a lot for all the help. I really appreciate it. I may reply here again if I get stuck in fmincon again.



"Matt J" wrote in message <j01r6b$sml$>...
> "Nazmul Islam" wrote in message <j01jlq$5dm$>...
> >
> > I have not set the 'AlwaysHonorConstraints' option. It is probably set to the default value.

> =====================
> Then you should turn it on (it's off by default).

> > Some constraints of c(i) are off by as large AS 10 or 2000 ! So, it's not coming from the round-off error, I guess.
> ================
> Check the exitflag to see if the algorithm stopped prematurely.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.