lpSolveAPI (version 5.5.2.0-17.6)

guess.basis: Guess Basis

Description

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

Usage

guess.basis(lprec, guess)

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.

Value

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

References

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

See Also

set.basis