Overview of the simplex Package
Calling Sequence
Description
List of simplex Package Commands
List of simplex package conversions
List of simplex package types
Examples
References
simplex[command](arguments)
command(arguments)
The simplex package is a collection of routines for linear optimization using the simplex algorithm as a whole, and using only certain parts of the simplex algorithm.
In addition to the routines feasible, maximize, and minimize, the simplex package provides routines to assist the user in carrying out the steps of the algorithm one at a time: setting up problems, finding a pivot element, and executing a single pivot operation.
To directly obtain a numerical solution to a linear program, it is recommended that you use the Optimization[LPSolve] command, which is more efficient for this purpose.
Each command in the simplex package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
The following is a list of available commands:
basis
convexhull
cterm
define_zero
display
dual
feasible
maximize
minimize
pivot
pivoteqn
pivotvar
ratio
setup
standardize
To display the help page for a particular simplex command, see Getting Help with a Command in a Package.
The following is a list of conversions in the simplex package:
equality
std
stdle
The following is a list of types that are limited to the simplex package:
NONNEGATIVE
with⁡simplex:
cnsts≔7⁢x+4⁢y+11⁢z≤30,3⁢x+4⁢y−3⁢z≤23,5⁢x−4⁢y−3⁢z≤10:
obj≔−x+y+2⁢z:
maximize⁡obj,cnstsunion0≤x,0≤y,0≤z
x=0,y=498,z=12
maximize⁡obj,cnsts,NONNEGATIVE
maximize⁡obj,cnsts
The implementation of the simplex algorithm is based on the initial chapters of:
Chvatal. Linear Programming. New York: W.H. Freeman and Company, 1983.
See Also
Optimization[LPSolve]
UsingPackages
with
Download Help Document