Description Usage Arguments Value Author(s)
Plot the polytope (bounded convex set) of a linear mathematical program
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
A 
The constraint matrix. 
b 
Right hand side. 
obj 
A vector with objective coefficients. 
type 
A character vector of same length as number of variables. If entry k is 'i' variable k must be integer and if 'c' continuous. 
nonneg 
A boolean vector of same length as number of variables. If entry k is TRUE then variable k must be nonnegative. 
crit 
Either max or min (only used if add the iso profit line) 
faces 
A character vector of same length as number of variables. If entry k is 'i' variable k must be integer and if 'c' continuous. Useful if e.g. want to show the linear relaxation of an IP. 
plotFaces 
If 
plotFeasible 
If 
plotOptimum 
Show the optimum corner solution point (if alternative solutions only one is shown) and add the iso profit line. 
latex 
If 
labels 
If 
... 
Further arguments passed on the the ggplot plotting functions. This must be done as lists. Currently the following arguments are supported:

A ggplot2 object.
Lars Relund lars@relund.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.