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 and active-set
Replies: 3   Last Post: Apr 16, 2012 9:50 AM

Advanced Search

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

Posts: 3
Registered: 11/27/11
fmincon and active-set
Posted: Apr 15, 2012 1:38 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I am trying to force fmincon to use the active-set algorithm:

options = optimset('Algorithm', 'active-set');
[x_active_set, fval_active_set, ~, output] = fmincon(@cost_function, x0, [], [], [], [], lb, ub, @nonlinear_constraints, options)

However, when I run my code the output says I'm using:

algorithm: 'medium-scale: SQP, Quasi-Newton, line-search'

Is this how Matlab displays the active-set algorithm? When I force fmincon to use SQP it correctly sets the algorithm to:

algorithm: 'sequential quadratic programming'


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.