Learn R Programming

lpSolveAPI (version 5.5.2.0-17.12)

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)

Value

a single integer value giving the total number of iterations.

Arguments

lprec

an lpSolve linear program model object.

Author

Kjell Konis kjell.konis@me.com

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

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