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 (optimization toolbox) - bug?
Replies: 4   Last Post: Apr 30, 2008 9:09 PM

Advanced Search

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

Posts: 5
Registered: 4/30/08
fmincon (optimization toolbox) - bug?
Posted: Apr 30, 2008 5:23 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

hi, does anyone have experience with fmincon? it seems that
no matter what I do, I get the message

Warning: Large-scale (trust region) method does not
currently solve this type of problem,
using medium-scale (line search) instead.
> In fmincon at 317

so, I look in line 317. I find

elseif ~line_search
[error-message]

but linesearch is defined as

line_search = strcmp(optimget
(options,'LargeScale',defaultopt,'fast'),'off')

, with the explanatory note
% line_search = false means large scale (trust region),
line_search = 1 means medium scale (line search)

So, am I correct in deducing that this program will abort
large-scale when told to use it, and won't when told not to
use it? is it possible that I have located an error?
cheers, hope someone out there has a suggestion



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

[Privacy Policy] [Terms of Use]

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