get.solutioncount: Get Solution Count

View source: R/get.solutioncount.R

get.solutioncountR Documentation

Get Solution Count

Description

Computes the number of equal solutions in a successfully solved lpSolve linear program model object. This is only valid if there are integer, semi-continuous or SOS variables in the model so that the branch-and-bound algorithm is used. This count gives the number of solutions with the same optimal objective value.

Usage

get.solutioncount(lprec)

Arguments

lprec

an lpSolve linear program model object.

Value

a single integer value giving the number of solutions attaining the optimal objective value.

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.