Print method for lp objects
# S3 method for lp
print (x, ...)
None
List with items named objval
and status
.
Normally this will have been called by lp
,
lp.assign
, or lp.transport
.
Other arguments, all currently ignored
Sam Buttrey, buttrey@nps.edu
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. If multiple solutions have been produced (because this was an all-binary problem and lp was called with num.bin.solns > 1) the number of solutions is also displayed.
lp
, lp.assign
, lp.transport