非线性规划用的拟牛顿是BFGS还是DFP,如何调用BFGS法?。
Afficher commentaires plus anciens
命令:
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 优化 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!