Learn R Programming

lpSolveAPI (version 5.5.0.12-3)

get.total.iter: Get Total Iterations

Description

Retrieves the total number of iterations from a successfully solved lpSolve linear program model object.

Usage

get.total.iter(lprec)

Arguments

lprec
an lpSolve linear program model object.

Value

  • a single integer value giving the total number of iterations.

Details

If lprec contains integer variables then this function returns the number of iterations to find a relaxed solution plus the number of iterations in the B&B process. If lprec contains no integer variables then this function returns the number of iterations to find a solution.

References

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