Learn R Programming

⚠️There's a newer version (1.3.4.1) of this package.Take me there.

#glpkAPI

R Interface to C API of GLPK, needs GLPK Version >= 4.42

Copy Link

Version

Install

install.packages('glpkAPI')

Monthly Downloads

824

Version

1.3.0

License

GPL-3

Maintainer

Claus Jonathan Fritzemeier

Last Published

January 7th, 2015

Functions in glpkAPI (1.3.0)

delRowsGLPK

Delete Rows from Problem Object
delProbGLPK

Delete Problem Object
getColDualGLPK

Retrieve Column Dual Value
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
factorizeGLPK

Compute the basis factorization
getColNameGLPK

Retrieve Column Name
getDualStatGLPK

Retrieve Status of Dual Basic Solution
getRowDualGLPK

Retrieve Row Dual Value
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
getObjCoefsGLPK

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

Retrieve Row Dual Value of all Rows
mplBuildProbGLPK

Build Problem Instance From Model
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
getRowsStatGLPK

Retrieve Row Status of all Rows
getUnbndRayGLPK

Determine Variable Causing Unboundedness
glpkAPI-package

R Interface to C API of GLPK
mipRowsValGLPK

Retrieve Row Value of all Rows
readSolGLPK

Read Basic Solution From Text File
mplReadDataGLPK

Read and Translate Data Section
mplReadModelGLPK

Read and Translate Model Section
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
setColNameGLPK

Set/Change Column Name
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
setSjjGLPK

Retrieve column scale factor
setRowsNamesGLPK

Set/Change Row Names
setRiiGLPK

Set row scale factor
unscaleProbGLPK

Problem unscaling
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
setRowsBndsGLPK

Set/Change Row Bounds
getSolStatIptGLPK

Determine Solution Status
getSjjGLPK

Retrieve column scale factor
bfExistsGLPK

Check if the basis factorization exists
addRowsGLPK

Add Rows to a GLPK Problem Object
bfUpdatedGLPK

Check if the basis factorization has been updated
findColGLPK

Find Column by its Name
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
getNumBinGLPK

Retrieve Number of Binary Columns
getProbNameGLPK

Retrieve Problem Name
getObjValIptGLPK

Retrieve Objective Value
getRowLowBndGLPK

Retrieve Row Lower Bound
getRowPrimIptGLPK

Retrieve Row Primal Value
mipColsValGLPK

Retrieve Column Value of all Columns
readIptGLPK

Read Interior-Point Solution From Text File
glpkConstants

Constants, Return and Status Codes of GLPK
setMatColGLPK

Set (Replace) Column of the Constraint Matrix
setInteriorParmGLPK

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

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

Contruct Standard Initial LP Basis
warmUpGLPK

Warm Up LP Basis
solveSimplexExactGLPK

Solve LP Problem in Exact Arithmetic
getColsDualGLPK

Retrieve Column Dual Value of all Columns
getRbindGLPK

Retrieve Row Index in the Basis Header
getColPrimIptGLPK

Retrieve Column Primal Value
getRowNameGLPK

Retrieve Row Name
setColsNamesGLPK

Set/Change Column Names
setColsKindGLPK

Set Column Kind for a Set of Columns
getRowStatGLPK

Retrieve Row Status
writeIptGLPK

Write Interior-Point Solution to Text File
getRowPrimGLPK

Retrieve Row Primal Value
initProbGLPK

Create a GLPK Problem Object
getRowUppBndGLPK

Retrieve Row Upper Bound
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
setColsBndsObjCoefsGLPK

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

Sets the Default Control Parameters for the Simplex Methods.
writeMIPGLPK

Write MIP Solution to Text File
getColPrimGLPK

Retrieve Column Primal Value
getColsPrimGLPK

Retrieve all Column Primal Values
glpkPtr-class

Class "glpkPtr"
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
mplPostsolveGLPK

Postsolve Model
mplAllocWkspGLPK

Allocate Translator Workspace
setObjNameGLPK

Set/Change Objective Function Name
setRowBndGLPK

Set/Change Row Bounds
sortMatrixGLPK

Sort Elements of the Constraint Matrix
addColsGLPK

Add Columns to a GLPK Problem Object
deleteIndexGLPK

Delete the Name Index
eraseProbGLPK

Erase problem object content
getBfcpGLPK

Retrieve Basis Factorization Control parameters
mipRowValGLPK

Retrieve Row Value
mipColValGLPK

Retrieve Column Value
setColBndGLPK

Set/Change Column Bounds
setColsBndsGLPK

Set/Change Column Bounds
setColStatGLPK

Set column status
createIndexGLPK

Create the Name Index
getInteriorParmGLPK

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

Write Problem Data in CPLEX LP Format
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
termOutGLPK

Enable/Disable Terminal Output
status_codeGLPK

Translates a GLPK Status Value into a Human Readable String
setObjDirGLPK

Set/Change Optimization Direction Flag
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
printIptGLPK

Write Interior-Point Solution in Printable Format
setColKindGLPK

Set Column Kind
scaleProbGLPK

Scale Problem Data
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
setRhsZeroGLPK

Set/Change all Row Bounds to Zero
getNumColsGLPK

Retrieve Number of Columns
copyProbGLPK

Copy problem object content
delColsGLPK

Delete Columns from Problem Object
cpxBasisGLPK

Construct Bixby's initial LP basis
findRowGLPK

Find Row by its Name
getColStatGLPK

Retrieve Column Status
getNumIntGLPK

Retrieve Number of Integer Columns
getColUppBndGLPK

Retrieve Column Upper Bound
getObjValGLPK

Retrieve Objective Value
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
mipObjValGLPK

Retrieve Objective Value
readMPSGLPK

Read Problem Data in MPS Format
mplFreeWkspGLPK

Free Translator Workspace
setBfcpGLPK

Change Basis Factorization Control Parameters
setRowNameGLPK

Set/Change Row Name
writeProbGLPK

Write Problem Data in GLPK Format
getColKindGLPK

Retrieve Column Kind
getCbindGLPK

Retrieve Column Index in the Basis Header
getColTypeGLPK

Retrieve Column Type
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
getSolStatGLPK

Determine Generic Status of the Basic Soluton
versionGLPK

Determine GLPK Callable Library Version
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
advBasisGLPK

Contruct Advanced Initial LP Basis
getColsStatGLPK

Retrieve Column Status of all Columns
getRiiGLPK

Retrieve row scale factor
getRowDualIptGLPK

Retrieve Row Dual Value
mplGenerateGLPK

Generate the Model
readLPGLPK

Read Problem Data in CPLEX LP Format
mipStatusGLPK

Determine Status of MIP Solution
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
readMIPGLPK

Read MIP Solution From Text File
setRowStatGLPK

Set row status
getBheadGLPK

Retrieve Basis Header Information
getColLowBndGLPK

Retrieve Column Lower Bound
getColsKindGLPK

Retrieve Column Kind
getMIPParmGLPK

Retrives the Control Parameters for MIP.
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
getRowsTypesGLPK

Retrieve Types of Specified Constraints (Rows)
getRowTypeGLPK

Retrieve Row Type
readProbGLPK

Read Problem Data in GLPK F ormat
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
printSolGLPK

Write Basic Solution in Printable Format
setProbNameGLPK

Set/Change Problem Name
writeMPSGLPK

Write Problem Data in MPS Format
getColDualIptGLPK

Retrieve Column Dual Value
getColsPrimIptGLPK

Retrieve all Column Primal Values
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
getObjNameGLPK

Retrieve Objective Function Name
getObjDirGLPK

Retrieve Optimization Direction Flag
getNumRowsGLPK

Retrieve Number of Rows
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
setDefaultIptParmGLPK

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

Print Sensitivity Analysis Report
printMIPGLPK

Write Interior-Point Solution in Printable Format
writeSolGLPK

Write Basic Solution to Text File