Learn R Programming

clpAPI (version 1.3.1)

loadProblemCLP: Load Problem Data

Description

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

Usage

loadProblemCLP(lp, ncols, nrows, ia, ja, ra,
                 lb = NULL, ub = NULL, obj_coef = NULL,
                 rlb = NULL, rub = NULL)

Arguments

lp

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

ncols

Number of Columns.

nrows

Number of Rows.

ia

Row indices in the constraint matrix.

ja

Column starts in constraint matrix.

ra

Non zero elements of the constraint matrix.

lb

Column lower bounds.

ub

Column upper bounds.

obj_coef

Objective coefficients.

rlb

Row lower bounds.

rub

Row upper bounds.

Value

NULL

Details

Interface to the C function loadProblem which calls the COIN-OR Clp function Clp_loadProblem.

References

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