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: Optimization terminated: No feasible solution found.
Replies: 5   Last Post: Jan 19, 2014 11:18 AM

Advanced Search

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

Posts: 1
Registered: 12/20/11
Optimization terminated: No feasible solution found.
Posted: Dec 20, 2011 2:53 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I try to run a program by fmincon,but I got an error:Optimization terminated: No feasible solution found.Search direction less than 2*options.TolX but constraints are not satisfied.and I don't know what is my mistake...
function f=myfun(x)
and "mycon2.m"
command window:
>>x0=[7.2 7.2 7.5 4.09];

when I try to run the script, I get these messages errors:
Optimization terminated: No feasible solution found.
Search direction less than 2*options.TolX but constraints are not satisfied.
x =

15.7056 10.0989 -2.7056 -3.7056

fval =

Any help is very much appreciated.Wish you a nice day!

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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.