guess.basis: Guess Basis

View source: R/guess.basis.R

guess.basisR Documentation

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.

Author(s)

Kjell Konis kjell.konis@me.com

References

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

See Also

set.basis


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