<>matlab就是很不错的软件。</P><>LP Linear programming.
LP has been replaced with LINPROG. LP currently works but
will be removed in the future. Use LINPROG instead.
X=LP(f,A,b) solves the linear programming problem:
min f'x subject t Ax <= b
x
X=LP(f,A,b,VLB,VUB) defines a set of lower and upper
bounds on the design variables, X, so that the solution is always in
the range VLB <= X <= VUB.
X=LP(f,A,b,VLB,VUB,X0) sets the initial starting point to X0.
X=LP(f,A,b,VLB,VUB,X0,N) indicates that the first N constraints defined
by A and b are equality constraints.
X=LP(f,A,b,VLB,VUB,X0,N,DISPLAY) controls the level of warning
messages displayed. Warning messages can be turned off with
DISPLAY = -1.
[x,LAMBDA]=LP(f,A,b) returns the set of Lagrangian multipliers,
LAMBDA, at the solution.
[X,LAMBDA,HOW] = LP(f,A,b) also returns a string how that indicates
error conditions at the final iteration.
LP produces warning messages when the solution is either unbounded
or infeasible.</P><>QP Quadratic programming.
QP has been replaced with QUADPROG. QP currently works but
will be removed in the future. Use QUADPROG instead.
X=QP(H,f,A,b) solves the quadratic programming problem:
min 0.5*x'Hx + f'x subject t Ax <= b
x
X=QP(H,f,A,b,VLB,VUB) defines a set of lower and upper
bounds on the design variables, X, so that the solution
is always in the range VLB <= X <= VUB.
X=QP(H,f,A,b,VLB,VUB,X0) sets the initial starting point to X0.
X=QP(H,f,A,b,VLB,VUB,X0,N) indicates that the first N constraints
defined by A and b are equality constraints.
X=QP(H,f,A,b,VLB,VUB,X0,N,DISPLAY) controls the level of warning
messages displayed. Warning messages can be turned off with</P> |