simplex - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : Optimization : Simplex Linear Optimization : simplex/basis

simplex

 basis
 compute a list of variables, corresponds to the basis

 Calling Sequence basis(C)

Parameters

 C - set of linear equations

Description

 • 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.

Examples

 > $\mathrm{with}\left(\mathrm{simplex}\right):$
 > $\mathrm{basis}\left(\left[x=3y+z,w=2y-z\right]\right)$
 $\left[{x}{,}{w}\right]$ (1)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam