This is a method for the function print()
to print objects of class
"simplex"
.
# S3 method for simplex
print(x, ...)
x
is returned silently.
An object of class "simplex"
created by calling the
function simplex
to solve a linear programming problem.
further arguments passed to or from other methods.
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.
simplex