R: Get Total Iterations

get.total.iter {lpSolveAPI} | R Documentation

## 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.

### 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.

### Value

a single integer value giving the total number of iterations.

### Author(s)

Kjell Konis kjell.konis@me.com

### References

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

[Package lpSolveAPI version 5.5.2.0-17.7 Index]