非线性规划用的拟牛顿是BFGS还是DFP,如何调用BFGS法?。
이전 댓글 표시
命令:
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 优化에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!