Learn R Programming

lpSolveAPI (version 5.5.0.12-3)

print.lp: Print an lp object

Description

Print method for lp objects

Usage

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

Arguments

x
List with items named objval and status. Normally this will have been called by lp, lp.assign, or
...
Other arguments, all currently ignored

Value

  • None

Details

This function prints the objective function value, together with the word "Success" if the operation is successful, or an indication of the error if not.

See Also

lp, lp.assign, lp.transport