\Header{print.simplex}{Print Solution to Linear Programming Problem}
\keyword{print}{print.simplex}
\keyword{optimize}{print.simplex}
\begin{Description}\relax
This is a method for the function \code{print()} to print objects of class
\code{"simplex"}.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'simplex':
print(x, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] An object of class \code{"simplex"} created by calling the
function \code{simplex} to solve a linear programming problem.

\item[\code{...}] further arguments passed to or from other methods.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The coefficients of the objective function are printed.
If a solution to the linear programming problem was found then the solution
and the optimal value of the objective function are printed.  If a feasible
solution was found but the maximum number of iterations was exceeded then the
last feasible solution and the objective function value at that point are
printed.  If no feasible solution could be found then a message stating that is
printed.
\end{Details}
\begin{Value}
\code{x} is returned silently.
\end{Value}
\begin{SeeAlso}\relax
\code{\Link{simplex}}
\end{SeeAlso}

