display - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

simplex

 display
 display a Linear Program in Matrix Form

 Calling Sequence display(C) display(C,[x, y, z])

Parameters

 C - set of linear relations

Description

 • The function display(C) constructs the matrix equation Ax rel B for the constraints defining a linear program.
 • The set of linear equations C passed to display should be in the special form produced by simplex[setup].
 • The command with(simplex,display) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{simplex}\right):$
 > $\mathrm{display}\left(\left\{x+3y+z\le 0,w-2y-z\le 2\right\}\right)$
 $\left[\begin{array}{cccc}{0}& {1}& {3}& {1}\\ {1}& {0}& {-2}& {-1}\end{array}\right]{}\left[\begin{array}{c}{w}\\ {x}\\ {y}\\ {z}\end{array}\right]{\le }\left[\begin{array}{c}{0}\\ {2}\end{array}\right]$ (1)

 See Also