get.total.iter: Get Total Iterations

View source: R/get.total.iter.R

get.total.iterR 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

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


lpSolveAPI documentation built on Sept. 11, 2024, 9:27 p.m.