# R Interface to C API of COIN-OR Clp

## Documentation for package ‘clpAPI’ version 1.2.7

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A C D G I L P R S V

clpAPI-package | R Interface to C API of COIN-OR Clp

## -- A --

addColsCLP | Add Columns
addRowsCLP | Add Rows

## -- C --

chgColLowerCLP | Set/Change Column Lower Bounds
chgColUpperCLP | Set/Change Column Upper Bounds
chgObjCoefsCLP | Set/Change Objective Coefficients
chgRowLowerCLP | Set/Change Row Lower Bounds
chgRowUpperCLP | Set/Change Row Upper Bounds
clpAPI | R Interface to C API of COIN-OR Clp
clpPointer | Class '"clpPtr"'
clpPointer-method | Class '"clpPtr"'
clpPtr | Class '"clpPtr"'
clpPtr-class | Class '"clpPtr"'
clpPtrType | Class '"clpPtr"'
clpPtrType-method | Class '"clpPtr"'
clpPtrType<- | Class '"clpPtr"'
clpPtrType<--method | Class '"clpPtr"'
Clp_addColumns | Add Columns
Clp_addRows | Add Rows
Clp_chgColumnLower | Set/Change Column Lower Bounds
Clp_chgColumnUpper | Set/Change Column Upper Bounds
Clp_chgObjCoefficients | Set/Change Objective Coefficients
Clp_chgRowLower | Set/Change Row Lower Bounds
Clp_chgRowUpper | Set/Change Row Upper Bounds
Clp_columnLower | Retrieve Column Lower Bound
Clp_columnUpper | Retrieve Column Upper Bounds
Clp_copyNames | Copy Column and Row Names in the Model
Clp_deleteColumns | Delete Columns in the Model
Clp_deleteModel | Delete Problem Object
Clp_deleteRows | Delete Rows in the Model
Clp_dropNames | Drop Names in the Model
Clp_dual | Solve LP Problem with the Dual Simplex Method
Clp_dualColumnSolution | Retrieve all Column Dual Values
Clp_dualRowSolution | Retrieve all Row Dual Values
Clp_getElements | Retrieve the Non Zero Elements of the Constraint Matrix in Column Major Order.
Clp_getIndices | Retrieve Row Indices of the Non Zero Elements in the Constraint Matrix
Clp_getNumElements | Retrieve the Current Number of Non Zero Elements in the Model
Clp_getVectorLengths | Retrieve the Number of Non Zero Elements per Column
Clp_getVectorStarts | Retrieve Column Starts in Constraint Matrix
Clp_idiot | Solve LP Problem with the idiot Code
Clp_initialBarrierNoCrossSolve | Solve LP Problem with the Initial Barrier Method (no Crossover)
Clp_initialBarrierSolve | Solve LP Problem with the Initial Barrier Method
Clp_initialDualSolve | Solve LP Problem with the Initial Dual Simplex Method
Clp_initialPrimalSolve | Solve LP Problem with the Initial Primal Simplex Method
Clp_initialSolve | Solve LP Problem with a General Solve Algorithm
Clp_lengthNames | Length of the Names in the Model
Clp_loadProblem | Load Problem Data
Clp_logLevel | Retrieve the Log Level Flag
Clp_newModel | Create a COIN-OR Clp Problem Object
Clp_numberColumns | Retrieve the Current Number of Columns in the Model
Clp_numberRows | Retrieve the Current Number of Rows in the Model
Clp_objective | Retrieve Objective Coefficients
Clp_objectiveValue | Retrieve the Value of the Objective Function After Optimization
Clp_optimizationDirection | Retrieve Optimization Direction Flag
Clp_primal | Solve LP Problem with the Primal Simplex Method
Clp_primalColumnSolution | Retrieve all Column Primal Values
Clp_primalRowSolution | Retrieve all Row Primal Values
Clp_printModel | Print the Model to STDOUT
Clp_problemName | Set Problem Name
Clp_readMps | Read Problem in (Free) MPS Format
Clp_resize | Resize a Model
Clp_restoreModel | Restore model from file
Clp_rowLower | Retrieve Row Lower Bound
Clp_rowUpper | Retrieve Row Upper Bound
Clp_saveModel | Save model to file
Clp_scaling | Set/Unset the Scaling Flag (Method)
Clp_scalingFlag | Retrieve the Scale Flag
Clp_setLogLevel | Set the Amount of Output to STDOUT
Clp_setOptimizationDirection | Set/Change Optimization Direction Flag
Clp_status | Retrieve the Solution Status
CLP_VERSION | Determine COIN-OR Clp Callable Library Version
copyNamesCLP | Copy Column and Row Names in the Model

## -- D --

delColsCLP | Delete Columns in the Model
delProbCLP | Delete Problem Object
delRowsCLP | Delete Rows in the Model
dropNamesCLP | Drop Names in the Model
dualCLP | Solve LP Problem with the Dual Simplex Method

## -- G --

getColDualCLP | Retrieve all Column Dual Values
getColLowerCLP | Retrieve Column Lower Bound
getColPrimCLP | Retrieve all Column Primal Values
getColUpperCLP | Retrieve Column Upper Bounds
getIndCLP | Retrieve Row Indices of the Non Zero Elements in the Constraint Matrix
getLogLevelCLP | Retrieve the Log Level Flag
getNnzCLP | Retrieve the Non Zero Elements of the Constraint Matrix in Column Major Order.
getNumColsCLP | Retrieve the Current Number of Columns in the Model
getNumNnzCLP | Retrieve the Current Number of Non Zero Elements in the Model
getNumRowsCLP | Retrieve the Current Number of Rows in the Model
getObjCoefsCLP | Retrieve Objective Coefficients
getObjDirCLP | Retrieve Optimization Direction Flag
getObjValCLP | Retrieve the Value of the Objective Function After Optimization
getRowDualCLP | Retrieve all Row Dual Values
getRowLowerCLP | Retrieve Row Lower Bound
getRowPrimCLP | Retrieve all Row Primal Values
getRowUpperCLP | Retrieve Row Upper Bound
getScaleFlagCLP | Retrieve the Scale Flag
getSolStatusCLP | Retrieve the Solution Status
getVecLenCLP | Retrieve the Number of Non Zero Elements per Column
getVecStartCLP | Retrieve Column Starts in Constraint Matrix

## -- I --

idiotCLP | Solve LP Problem with the idiot Code
initProbCLP | Create a COIN-OR Clp Problem Object
isCLPpointer | Class '"clpPtr"'
isCLPpointer-method | Class '"clpPtr"'
isNULLpointerCLP | Class '"clpPtr"'
isNULLpointerCLP-method | Class '"clpPtr"'

## -- L --

lengthNamesCLP | Length of the Names in the Model
loadMatrixCLP | Load Constraint Matrix
loadProblemCLP | Load Problem Data

## -- P --

primalCLP | Solve LP Problem with the Primal Simplex Method
printModelCLP | Print the Model to STDOUT
probNameCLP | Set Problem Name

## -- R --

readMPSCLP | Read Problem in (Free) MPS Format
resizeCLP | Resize a Model
restoreModelCLP | Restore model from file
return_codeCLP | Translates a COIN-OR Clp Return Code into a Human Readable String

## -- S --

saveModelCLP | Save model to file
scaleModelCLP | Set/Unset the Scaling Flag (Method)
setLogLevelCLP | Set the Amount of Output to STDOUT
setObjDirCLP | Set/Change Optimization Direction Flag
solveInitialBarrierCLP | Solve LP Problem with the Initial Barrier Method
solveInitialBarrierNoCrossCLP | Solve LP Problem with the Initial Barrier Method (no Crossover)
solveInitialCLP | Solve LP Problem with a General Solve Algorithm
solveInitialDualCLP | Solve LP Problem with the Initial Dual Simplex Method
solveInitialPrimalCLP | Solve LP Problem with the Initial Primal Simplex Method
status_codeCLP | Translates a COIN-OR Clp Status Value into a Human Readable String

## -- V --

versionCLP | Determine COIN-OR Clp Callable Library Version