print.simplex {boot}R Documentation

Print Solution to Linear Programming Problem


This is a method for the function print() to print objects of class "simplex".


## S3 method for class 'simplex':
print(x, ...)


x 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.


x is returned silently.

See Also


[Package boot version 1.2-27 Index]