Learn R Programming

Copy Link

Version

Install

install.packages('glpkAPI')

Monthly Downloads

914

Version

1.3.4.1

License

GPL-3 | file LICENSE

Maintainer

Mihail Anton

Last Published

July 10th, 2025

Functions in glpkAPI (1.3.4.1)

bfExistsGLPK

Check if the basis factorization exists
delProbGLPK

Delete Problem Object
findRowGLPK

Find Row by its Name
delRowsGLPK

Delete Rows from Problem Object
getBfcpGLPK

Retrieve Basis Factorization Control parameters
getBheadGLPK

Retrieve Basis Header Information
getCbindGLPK

Retrieve Column Index in the Basis Header
findColGLPK

Find Column by its Name
getColPrimIptGLPK

Retrieve Column Primal Value
getColKindGLPK

Retrieve Column Kind
getColLowBndGLPK

Retrieve Column Lower Bound
factorizeGLPK

Compute the basis factorization
eraseProbGLPK

Erase problem object content
getColDualIptGLPK

Retrieve Column Dual Value
getColNameGLPK

Retrieve Column Name
deleteIndexGLPK

Delete the Name Index
getColDualGLPK

Retrieve Column Dual Value
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
getColsDualGLPK

Retrieve Column Dual Value of all Columns
getColsStatGLPK

Retrieve Column Status of all Columns
getColStatGLPK

Retrieve Column Status
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
getNumColsGLPK

Retrieve Number of Columns
getColsKindGLPK

Retrieve Column Kind
getObjCoefsGLPK

Retrieve Objective Coefficients at Specified Columns and/or Constant Term
getInteriorParmGLPK

Retrives the Control Parameters for the Interior-point Method.
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
getColsPrimGLPK

Retrieve all Column Primal Values
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getObjNameGLPK

Retrieve Objective Function Name
getNumIntGLPK

Retrieve Number of Integer Columns
getObjDirGLPK

Retrieve Optimization Direction Flag
getMIPParmGLPK

Retrives the Control Parameters for MIP.
getRowUppBndGLPK

Retrieve Row Upper Bound
getColPrimGLPK

Retrieve Column Primal Value
getColsPrimIptGLPK

Retrieve all Column Primal Values
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
getColUppBndGLPK

Retrieve Column Upper Bound
getObjValIptGLPK

Retrieve Objective Value
getColTypeGLPK

Retrieve Column Type
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
getObjValGLPK

Retrieve Objective Value
getDualStatGLPK

Retrieve Status of Dual Basic Solution
getSolStatGLPK

Determine Generic Status of the Basic Soluton
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
getSjjGLPK

Retrieve column scale factor
getNumRowsGLPK

Retrieve Number of Rows
getRowDualIptGLPK

Retrieve Row Dual Value
getNumBinGLPK

Retrieve Number of Binary Columns
getRowsStatGLPK

Retrieve Row Status of all Rows
getProbNameGLPK

Retrieve Problem Name
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
getRowDualGLPK

Retrieve Row Dual Value
getRowLowBndGLPK

Retrieve Row Lower Bound
getRowsTypesGLPK

Retrieve Types of Specified Constraints (Rows)
glpkAPI-package

R Interface to C API of GLPK
glpkConstants

Constants, Return and Status Codes of GLPK
getRiiGLPK

Retrieve row scale factor
getRowsDualIptGLPK

Retrieve Row Dual Value of all Rows
printIptGLPK

Write Interior-Point Solution in Printable Format
getRbindGLPK

Retrieve Row Index in the Basis Header
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
initProbGLPK

Create a GLPK Problem Object
glpkPtr-class

Class "glpkPtr"
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
printMIPGLPK

Write Interior-Point Solution in Printable Format
getRowNameGLPK

Retrieve Row Name
getRowTypeGLPK

Retrieve Row Type
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
readMPSGLPK

Read Problem Data in MPS Format
readMIPGLPK

Read MIP Solution From Text File
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
readLPGLPK

Read Problem Data in CPLEX LP Format
readIptGLPK

Read Interior-Point Solution From Text File
mipColsValGLPK

Retrieve Column Value of all Columns
getRowStatGLPK

Retrieve Row Status
getRowPrimGLPK

Retrieve Row Primal Value
mplFreeWkspGLPK

Free Translator Workspace
mplBuildProbGLPK

Build Problem Instance From Model
getRowPrimIptGLPK

Retrieve Row Primal Value
getSolStatIptGLPK

Determine Solution Status
setColBndGLPK

Set/Change Column Bounds
setBfcpGLPK

Change Basis Factorization Control Parameters
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
mipObjValGLPK

Retrieve Objective Value
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
mplReadDataGLPK

Read and Translate Data Section
mplReadModelGLPK

Read and Translate Model Section
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
setMatColGLPK

Set (Replace) Column of the Constraint Matrix
mipColValGLPK

Retrieve Column Value
setObjDirGLPK

Set/Change Optimization Direction Flag
mipStatusGLPK

Determine Status of MIP Solution
mplAllocWkspGLPK

Allocate Translator Workspace
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
setColKindGLPK

Set Column Kind
solveMIPGLPK

Solve MIP Problem with the Branch-and-Cut Method
setDefaultSmpParmGLPK

Sets the Default Control Parameters for the Simplex Methods.
setSjjGLPK

Retrieve column scale factor
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
readProbGLPK

Read Problem Data in GLPK F ormat
writeSolGLPK

Write Basic Solution to Text File
setColNameGLPK

Set/Change Column Name
mipRowValGLPK

Retrieve Row Value
getUnbndRayGLPK

Determine Variable Causing Unboundedness
mipRowsValGLPK

Retrieve Row Value of all Rows
readSolGLPK

Read Basic Solution From Text File
setColStatGLPK

Set column status
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
scaleProbGLPK

Scale Problem Data
setRiiGLPK

Set row scale factor
setColsBndsObjCoefsGLPK

Set/Change Column Bounds and Objective Coefficients and/or Constant Term
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
mplGenerateGLPK

Generate the Model
setRowBndGLPK

Set/Change Row Bounds
setColsKindGLPK

Set Column Kind for a Set of Columns
setRhsZeroGLPK

Set/Change all Row Bounds to Zero
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
writeLPGLPK

Write Problem Data in CPLEX LP Format
setObjNameGLPK

Set/Change Objective Function Name
solveSimplexExactGLPK

Solve LP Problem in Exact Arithmetic
mplPostsolveGLPK

Postsolve Model
writeMIPGLPK

Write MIP Solution to Text File
setProbNameGLPK

Set/Change Problem Name
stdBasisGLPK

Contruct Standard Initial LP Basis
setRowsBndsGLPK

Set/Change Row Bounds
termOutGLPK

Enable/Disable Terminal Output
setInteriorParmGLPK

Sets/Changes Control Parameters or the Interior-point Method.
setColsBndsGLPK

Set/Change Column Bounds
versionGLPK

Determine GLPK Callable Library Version
warmUpGLPK

Warm Up LP Basis
setRowsNamesGLPK

Set/Change Row Names
writeIptGLPK

Write Interior-Point Solution to Text File
unscaleProbGLPK

Problem unscaling
setRowNameGLPK

Set/Change Row Name
setRowStatGLPK

Set row status
printSolGLPK

Write Basic Solution in Printable Format
setDefaultIptParmGLPK

Sets the Default Control Parameters for the Interior-point Method.
setColsNamesGLPK

Set/Change Column Names
printRangesGLPK

Print Sensitivity Analysis Report
status_codeGLPK

Translates a GLPK Status Value into a Human Readable String
sortMatrixGLPK

Sort Elements of the Constraint Matrix
writeProbGLPK

Write Problem Data in GLPK Format
writeMPSGLPK

Write Problem Data in MPS Format
createIndexGLPK

Create the Name Index
bfUpdatedGLPK

Check if the basis factorization has been updated
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
delColsGLPK

Delete Columns from Problem Object
addColsGLPK

Add Columns to a GLPK Problem Object
cpxBasisGLPK

Construct Bixby's initial LP basis
copyProbGLPK

Copy problem object content
addRowsGLPK

Add Rows to a GLPK Problem Object
advBasisGLPK

Contruct Advanced Initial LP Basis