MATLAB,优化函数fmincon解析
[x,fval,exitflag,output,lambda,grad,hessian]=fmincon(fun,x0,A,b,Aeq,beq,lb,ub,nonlcon...参数值的上界和下界lb,ub
非线性约束nonlcon
输出参数:X输出最优参数值
Fval输出fun在X参数的值...Beq,LB,UB,NONLCON,options,varargin)
/*fmincon可以在多元函数中找到最小值
FMINCON attempts to solve problems of the...= FMINCON(FUN,X0,A,B,Aeq,Beq,LB,UB,NONLCON) subjects the minimization
% to the constraints defined...(Set LB = [] and/or UB = [] if no bounds
% exist.)
%
% X = FMINCON(FUN,X0,A,B,Aeq,Beq,LB,UB,NONLCON