资 源 简 介
function [X,fval,exitflag,output,lambda]=quadprog(H,f,A,B,Aeq,Beq,lb,ub,X0,options,varargin)
% X=QUADPROG(H,f,A,b) 求解二次规划:
% min 0.5*x *H*x + f *x subject to: A*x <= b
%x=quadprog(H,f, A, b, Aeq, beq)求解二次规划:-function [X, fval, exitflag, output, lambda] = quadprog (H, f, A, B, Aeq, Beq, lb, ub, X0, options, varargin)% X = QUADPROG (H, f, A, b) solving quadratic programming : min 0.5%* H* x* x* x f subject to : A* x