非线性规划用的拟牛顿是BFGS还是DFP,如何调用BFGS法?。
Show older comments
命令:
x0 = [1,1,1]; % Make a starting guess at the solution
options = optimset('Algorithm','active-set');
[x,fval,exitflag,output,lambda,grad,hession]=fmincon(@objfun,x0,[],[],[],[],[],[],@confun,options)
计算结果如下:
output =
iterations: 13
funcCount: 179
lssteplength: 1
stepsize: 0
algorithm: 'medium-scale: SQP, Quasi-Newton, line-search'
firstorderopt: 100
constrviolation: 0.5000
message: [1x745 char]
其中的Quasi-Newton是BFGS还是DFP?
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!