simplex
basis
compute a list of variables, corresponds to the basis
Calling Sequence
Parameters
Description
Examples
basis(C)
C
-
set of linear equations
The function basis(C) computes a list of variables, one per equation, which corresponds to the basis used by the simplex algorithm.
The set of linear equations C passed to basis should be in the special form produced by simplex[setup]. The function simplex[setup] ensures that each of these variables occurs in exactly one equation, and only on the left-hand side.
The command with(simplex,basis) allows the use of the abbreviated form of this command.
withsimplex:
basisx=3y+z,w=2y−z
x,w
See Also
simplex[setup]
Download Help Document