Learn R Programming

lpSolveAPI (version 5.5.2.0-4)

get.total.nodes: Get Total Nodes

Description

Retrieves the total number of nodes processed in the branch-and-bound algorithm from a successfully solved lpSolve linear program model object.

Usage

get.total.nodes(lprec)

Arguments

lprec
an lpSolve linear program model object.

Value

  • a single integer value giving the total number of nodes processed.

Details

The output of this function is only applicable for models containing integer variables.

References

http://lpsolve.sourceforge.net/5.5/index.htm