x = linprog (f, A, b) ¶x = linprog (f, A, b, Aeq, beq) ¶x = linprog (f, A, b, Aeq, beq, lb, ub) ¶[x, fval] = linprog (…) ¶Solve a linear problem.
Finds
min (f' * x)
(both f and x are column vectors) subject to
A * x <= b Aeq * x = beq lb <= x <= ub
If not specified, Aeq and beq default to empty matrices.
If not specified, the lower bound lb defaults to minus infinite and the upper bound ub defaults to infinite.
See also: glpk.
Package: optim