Learn R Programming

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

glpkAPI (version 1.2.4)

R Interface to C API of GLPK

Description

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

Copy Link

Version

Install

install.packages('glpkAPI')

Monthly Downloads

824

Version

1.2.4

License

GPL-3

Maintainer

Gabriel Gelius-Dietrich

Last Published

July 6th, 2012

Functions in glpkAPI (1.2.4)

getCbindGLPK

Retrieve Column Index in the Basis Header
getColLowBndGLPK

Retrieve Column Lower Bound
getColDualIptGLPK

Retrieve Column Dual Value
getColUppBndGLPK

Retrieve Column Upper Bound
getColsPrimIptGLPK

Retrieve all Column Primal Values
glpkConstants

Constants, Return and Status Codes of GLPK
printIptGLPK

Write Interior-Point Solution in Printable Format
getObjNameGLPK

Retrieve Objective Function Name
setDefaultIptParmGLPK

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

Retrieve column scale factor
setObjNameGLPK

Set/Change Objective Function Name
unscaleProbGLPK

Problem unscaling
getRowTypeGLPK

Retrieve Row Type
solveSimplexExactGLPK

Solve LP Problem in Exact Arithmetic
stdBasisGLPK

Contruct Standard Initial LP Basis
createIndexGLPK

Create the Name Index
findRowGLPK

Find Row by its Name
deleteIndexGLPK

Delete the Name Index
getBheadGLPK

Retrieve Basis Header Information
getColsDualGLPK

Retrieve Column Dual Value of all Columns
getObjCoefsGLPK

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

Retrieve Row Primal Value
getRowsDualIptGLPK

Retrieve Row Dual Value of all Rows
mipRowsValGLPK

Retrieve Row Value of all Rows
getColsKindGLPK

Retrieve Column Kind
setMatColGLPK

Set (Replace) Column of the Constraint Matrix
printMIPGLPK

Write Interior-Point Solution in Printable Format
setColBndGLPK

Set/Change Column Bounds
setProbNameGLPK

Set/Change Problem Name
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
mplAllocWkspGLPK

Allocate Translator Workspace
addRowsGLPK

Add Rows to a GLPK Problem Object
advBasisGLPK

Contruct Advanced Initial LP Basis
getColKindGLPK

Retrieve Column Kind
getColNameGLPK

Retrieve Column Name
findColGLPK

Find Column by its Name
bfUpdatedGLPK

Check if the basis factorization has been updated
delProbGLPK

Delete Problem Object
getBfcpGLPK

Retrieve Basis Factorization Control parameters
factorizeGLPK

Compute the basis factorization
getColTypeGLPK

Retrieve Column Type
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
getSjjGLPK

Retrieve column scale factor
getNumColsGLPK

Retrieve Number of Columns
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
setRiiGLPK

Set row scale factor
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
solveMIPGLPK

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

Determine Library Version
writeSolGLPK

Write Basic Solution to Text File
delColsGLPK

Delete Columns from Problem Object
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getColDualGLPK

Retrieve Column Dual Value
copyProbGLPK

Copy problem object content
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
getNumIntGLPK

Retrieve Number of Integer Columns
getDualStatGLPK

Retrieve Status of Dual Basic Solution
getRbindGLPK

Retrieve Row Index in the Basis Header
getRowUppBndGLPK

Retrieve Row Upper Bound
initProbGLPK

Create a GLPK Problem Object
mplFreeWkspGLPK

Free Translator Workspace
printSolGLPK

Write Basic Solution in Printable Format
scaleProbGLPK

Scale Problem Data
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
sortMatrixGLPK

Sort Elements of the Constraint Matrix
setColsBndsObjCoefsGLPK

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

Write MIP Solution to Text File
warmUpGLPK

Warm Up LP Basis
setRowNameGLPK

Set/Change Row Name
addColsGLPK

Add Columns to a GLPK Problem Object
getObjDirGLPK

Retrieve Optimization Direction Flag
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
getRiiGLPK

Retrieve row scale factor
mipRowValGLPK

Retrieve Row Value
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
mipColValGLPK

Retrieve Column Value
mipColsValGLPK

Retrieve Column Value of all Columns
mplReadDataGLPK

Read and Translate Data Section
setColsKindGLPK

Set Column Kind for a Set of Columns
setInteriorParmGLPK

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

Write Interior-Point Solution to Text File
writeMPSGLPK

Write Problem Data in MPS Format
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
getColsStatGLPK

Retrieve Column Status of all Columns
getNumBinGLPK

Retrieve Number of Binary Columns
getNumRowsGLPK

Retrieve Number of Rows
getRowsStatGLPK

Retrieve Row Status of all Rows
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
getObjValIptGLPK

Retrieve Objective Value
getProbNameGLPK

Retrieve Problem Name
setObjDirGLPK

Set/Change Optimization Direction Flag
mplGenerateGLPK

Generate the Model
printRangesGLPK

Print Sensitivity Analysis Report
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
delRowsGLPK

Delete Rows from Problem Object
getColPrimGLPK

Retrieve Column Primal Value
getColPrimIptGLPK

Retrieve Column Primal Value
getSolStatGLPK

Determine Generic Status of the Basic Soluton
getColStatGLPK

Retrieve Column Status
readMIPGLPK

Read MIP Solution From Text File
readMPSGLPK

Read Problem Data in MPS Format
setColNameGLPK

Set/Change Column Name
getRowLowBndGLPK

Retrieve Row Lower Bound
getRowStatGLPK

Retrieve Row Status
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
glpkPtr-class

Class "glpkPtr"
readIptGLPK

Read Interior-Point Solution From Text File
readLPGLPK

Read Problem Data in CPLEX LP Format
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
status_codeGLPK

Translates a GLPK Status Value into a Human Readable String
termOutGLPK

Enable/Disable Terminal Output
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
readProbGLPK

Read Problem Data in GLPK F ormat
setRowBndGLPK

Set/Change Row Bounds
writeProbGLPK

Write Problem Data in GLPK Format
cpxBasisGLPK

Construct Bixby's initial LP basis
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
mplPostsolveGLPK

Postsolve Model
setColsBndsGLPK

Set/Change Column Bounds
setRowStatGLPK

Set row status
setRowsBndsGLPK

Set/Change Row Bounds
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
mipObjValGLPK

Retrieve Objective Value
mplReadModelGLPK

Read and Translate Model Section
setBfcpGLPK

Change Basis Factorization Control Parameters
setColStatGLPK

Set column status
bfExistsGLPK

Check if the basis factorization exists
getRowDualIptGLPK

Retrieve Row Dual Value
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
getUnbndRayGLPK

Determine Variable Causing Unboundedness
mplBuildProbGLPK

Build Problem Instance From Model
setColKindGLPK

Set Column Kind
getColsPrimGLPK

Retrieve all Column Primal Values
getInteriorParmGLPK

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

Retrieve Row Name
getRowDualGLPK

Retrieve Row Dual Value
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
getSolStatIptGLPK

Determine Solution Status
setDefaultSmpParmGLPK

Sets the Default Control Parameters for the Simplex Methods.
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
eraseProbGLPK

Erase problem object content
getMIPParmGLPK

Retrives the Control Parameters for MIP.
getObjValGLPK

Retrieve Objective Value
getRowPrimGLPK

Retrieve Row Primal Value
mipStatusGLPK

Determine Status of MIP Solution
glpkAPI-package

R Interface to C API of GLPK
readSolGLPK

Read Basic Solution From Text File
setRhsZeroGLPK

Set/Change all Row Bounds to Zero
writeLPGLPK

Write Problem Data in CPLEX LP Format