Learn R Programming

clpAPI (version 1.3.1)

getSolStatusCLP: Retrieve the Solution Status

Description

Low level interface function to the COIN-OR Clp function Clp_status. Consult the COIN-OR Clp documentation for more detailed information.

Usage

getSolStatusCLP(lp)

Arguments

lp

An object of class "'>clpPtr" as returned by initProbCLP. This is basically a pointer to a COIN-OR Clp problem object.

Value

The solution status: 0: optimal, 1: primal infeasible, 2: dual infeasible, 3: stopped on iterations etc, 4: stopped due to errors.

Details

Interface to the C function getSolStatus which calls the COIN-OR Clp function Clp_status.

References

The COIN-OR Clp home page at https://projects.coin-or.org/Clp