View source: R/get.solutioncount.R
get.solutioncount | R Documentation |
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.
get.solutioncount(lprec)
lprec |
an lpSolve linear program model object. |
a single integer value giving the number of solutions attaining the optimal objective value.
Kjell Konis kjell.konis@me.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.