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

PolyhedralSets

 PrintLevel
 control level of detail when printing polyhedral sets

 Calling Sequence PrintLevel(n)

Parameters

 n - non-negative integer, maximum number of constraints to print

Description

 • This command limits how many relations will be printed when evaluating a polyhedral set, returning the previous value.  The default value is 10.
 • A value of zero disables the structured printing of polyhedral sets.

Examples

 > $\mathrm{with}\left(\mathrm{PolyhedralSets}\right):$

If PrintLevel is less than the number of relations for a set,

 > $\mathrm{PrintLevel}\left(4\right);$$Q≔\mathrm{PolyhedralSet}\left(\left[x+y+z\le 1,0\le x,0\le y,0\le z,\frac{1}{2}\le x+y+z,\frac{1}{2}\le x+y+2z,3\le w+x,-10\le 3w-2x\right],\left[w,x,y,z\right]\right)$
 ${10}$
 ${Q}{≔}{{}\begin{array}{lll}{\mathrm{Coordinates}}& {:}& \left[{w}{,}{x}{,}{y}{,}{z}\right]\\ {\mathrm{Relations}}& {:}& \left[{-}{z}{\le }{0}{,}{-}{y}{\le }{0}{,}{-}{x}{-}{y}{-}{z}{\le }{-}\frac{{1}}{{2}}{,}{-}{x}{\le }{0}{,}{\mathrm{and 2 more constraints}}\right]\end{array}$ (1)
 > $\mathrm{PrintLevel}\left(10\right)$
 ${4}$ (2)
 > $Q$
 ${{}\begin{array}{lll}{\mathrm{Coordinates}}& {:}& \left[{w}{,}{x}{,}{y}{,}{z}\right]\\ {\mathrm{Relations}}& {:}& \left[{-}{z}{\le }{0}{,}{-}{y}{\le }{0}{,}{-}{x}{-}{y}{-}{z}{\le }{-}\frac{{1}}{{2}}{,}{-}{x}{\le }{0}{,}{x}{+}{y}{+}{z}{\le }{1}{,}{-}{w}{-}{x}{\le }{-3}\right]\end{array}$ (3)
 > $\mathrm{PrintLevel}\left(0\right)$
 ${10}$ (4)
 > $Q$
 ${\mathrm{Object<>}}$ (5)

Compatibility

 • The PolyhedralSets[PrintLevel] command was introduced in Maple 2015.
 • For more information on Maple 2015 changes, see Updates in Maple 2015.