|
Linear Programming
Solves a Linear Programming problem (maximization only) by Dantzig's
simplex method. |
|
|
m, mle |
|
Constraints: 'm', total;
and 'mle', "≤"-type.
(No ' ≥ ' constraints.) |
n |
|
Structural variables · |
c |
Intermediate output (t, f) and coefficients in the
objective function ·
|
A |
Constraint matrix
(RHS constraint [<ret> RHS constraint] …)
|
Solves a Linear Programming problem in "standard" form, only for
maximization.
The coefficients, c, in the objective function must be
preceded by t or f (true, false) for intermediate output.
(To minimize, multiply the coefficients by −1.)
The constraint matrix, A, must be given beginning
(in each row) with the right-hand side (RHS) constant (with 'return' at
end of line). So, e.g.,
− x1 + 4 x2 ≤ 78 would
become 78 −1 4.
This Problem tries to imitate the manual resolution by the
matrix method. For a more secure resolution:
NAG
based version.
|
|
References:
• Wagner, Harvey M., 1972+,
"Principles of Operations
Research, with applications to managerial decisions",
John Wiley, New York, NY (USA). |