# R Interface to C API of COIN-or Clp

## Documentation for package ‘clpAPI’ version 1.2.13

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

## Help Pages

A C D G I L M P R S V W

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_hitMaximumIterations | Returns True if Hit Maximum Iterations (or Time)
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_maximumSeconds | Maximum Time in Seconds (from when Set called)
Clp_modifyCoefficient | Change matrix coefficients
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_setColumnName | Set column name
Clp_setLogLevel | Set the Amount of Output to STDOUT
Clp_setMaximumIterations | Set the Maximum Number of Iterations
Clp_setMaximumSeconds | Set the Maximum Time in Seconds
Clp_setNumberIterations | Set the Number of Iterations
Clp_setOptimizationDirection | Set/Change Optimization Direction Flag
Clp_setRowName | Set row name
Clp_status | Retrieve the Solution Status
CLP_VERSION | Determine COIN-OR Clp Callable Library Version
Clp_writeMps | Write an MPS Format file to the given filename
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
getHitMaximumIterationsCLP | Returns True if Hit Maximum Iterations (or Time)
getIndCLP | Retrieve Row Indices of the Non Zero Elements in the Constraint Matrix
getLogLevelCLP | Retrieve the Log Level Flag
getMaximumIterationsCLP | Returns Maximum Number of Iterations
getMaximumSecondsCLP | Maximum Time in Seconds (from when Set called)
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

## -- M --

maximumIterations | Returns Maximum Number of Iterations
modifyCoefficientCLP | Change matrix coefficients

## -- 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)
setColNameCLP | Set column name
setLogLevelCLP | Set the Amount of Output to STDOUT
setMaximumIterationsCLP | Set the Maximum Number of Iterations
setMaximumSecondsCLP | Set the Maximum Time in Seconds
setNumberIterationsCLP | Set the Number of Iterations
setObjDirCLP | Set/Change Optimization Direction Flag
setRowNameCLP | Set row name
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

## -- W --

writeMPSCLP | Write an MPS Format file to the given filename