simplex
pivoteqn
returns a sublist of equations given a pivot
Calling Sequence
Parameters
Description
Examples
pivoteqn(C, var)
C
-
set of linear equations
var
variable chosen to carry out a pivot operation
The function pivoteqn(C, var) returns a sublist of equations from C. Each equation eq returned achieves the minimum non-negative ratio of
−cterm⁡eqcoeff⁡eq,var,1
In the special case where all ratios are negative, the function returns FAIL.
The linear equations C are in the special form produced by simplex[setup].
The command with(simplex,pivoteqn) allows the use of the abbreviated form of this command.
with⁡simplex:
pivoteqn⁡_SL1=5−4⁢x−3⁢y,_SL2=4−3⁢x−4⁢y,x
_SL1=5−4⁢x−3⁢y
Download Help Document