simplex
pivot
construct a new set of equations given a pivot
Calling Sequence
Parameters
Description
Examples
pivot(C, x, eqn)
C
-
set or list of equations
x
variable name
eqn
equation or list of equations
The call pivot(C, x, eqn) constructs a new set of equations in a form compatible with the forms used in simplex[setup], by solving the specified equation eqn for x, then substituting the result into C. This is equivalent to the standard simplex pivot on an array of coefficients.
To re-express the objective function f in terms of this new description, one can substitute the result of pivot into f.
If eqn is a list of equations, then eqn1 is used. This is to facilitate easy user interaction with the function simplex[pivoteqn] used to choose an equation to use for the next pivot.
The command with(simplex,pivot) allows the use of the abbreviated form of this command.
with⁡simplex:
pivot⁡_SL1=5−4⁢x−3⁢y,_SL2=4−3⁢x−4⁢y,x,_SL1=5−4⁢x−3⁢y
_SL2=14−7⁢y4+3⁢_SL14,x=54−3⁢y4−_SL14
See Also
simplex[pivoteqn]
Download Help Document