Learn R Programming

lpSolveAPI (version 5.5.2.0-17.12)

guess.basis: Guess Basis

Description

Attempt to find a feasible basis corresponding to a user provided feasible point.

Usage

guess.basis(lprec, guess)

Value

if successful, a numeric vector containing the indices of a starting basis. This vector is suitable for use with the set.basis function.

Arguments

lprec

an lpSolve linear program model object.

guess

a numeric vector of length n (the number of decision variables in lprec) containing a feasible point.

Author

Kjell Konis kjell.konis@me.com

References

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

See Also

set.basis