Learn R Programming

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

glpkAPI (version 1.2.7)

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.7

License

GPL-3

Maintainer

Gabriel Gelius-Dietrich

Last Published

May 23rd, 2013

Functions in glpkAPI (1.2.7)

addRowsGLPK

Add Rows to a GLPK Problem Object
addColsGLPK

Add Columns to a GLPK Problem Object
getCbindGLPK

Retrieve Column Index in the Basis Header
cpxBasisGLPK

Construct Bixby's initial LP basis
eraseProbGLPK

Erase problem object content
getColNameGLPK

Retrieve Column Name
delProbGLPK

Delete Problem Object
getNumIntGLPK

Retrieve Number of Integer Columns
getColsPrimIptGLPK

Retrieve all Column Primal Values
getColUppBndGLPK

Retrieve Column Upper Bound
getObjValGLPK

Retrieve Objective Value
getNumBinGLPK

Retrieve Number of Binary Columns
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
getSjjGLPK

Retrieve column scale factor
setColBndGLPK

Set/Change Column Bounds
writeProbGLPK

Write Problem Data in GLPK Format
stdBasisGLPK

Contruct Standard Initial LP Basis
getUnbndRayGLPK

Determine Variable Causing Unboundedness
advBasisGLPK

Contruct Advanced Initial LP Basis
glpkAPI-package

R Interface to C API of GLPK
initProbGLPK

Create a GLPK Problem Object
printSolGLPK

Write Basic Solution in Printable Format
readIptGLPK

Read Interior-Point Solution From Text File
scaleProbGLPK

Scale Problem Data
setColKindGLPK

Set Column Kind
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
createIndexGLPK

Create the Name Index
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
deleteIndexGLPK

Delete the Name Index
setObjDirGLPK

Set/Change Optimization Direction Flag
delRowsGLPK

Delete Rows from Problem Object
getColTypeGLPK

Retrieve Column Type
getObjDirGLPK

Retrieve Optimization Direction Flag
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
getRiiGLPK

Retrieve row scale factor
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
getNumRowsGLPK

Retrieve Number of Rows
status_codeGLPK

Translates a GLPK Status Value into a Human Readable String
sortMatrixGLPK

Sort Elements of the Constraint Matrix
getRowPrimIptGLPK

Retrieve Row Primal Value
writeLPGLPK

Write Problem Data in CPLEX LP Format
getSolStatGLPK

Determine Generic Status of the Basic Soluton
getRowDualIptGLPK

Retrieve Row Dual Value
printRangesGLPK

Print Sensitivity Analysis Report
glpkPtr-class

Class "glpkPtr"
readProbGLPK

Read Problem Data in GLPK F ormat
setColStatGLPK

Set column status
setColsKindGLPK

Set Column Kind for a Set of Columns
setRiiGLPK

Set row scale factor
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
setSjjGLPK

Retrieve column scale factor
solveMIPGLPK

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

Enable/Disable Terminal Output
getMIPParmGLPK

Retrives the Control Parameters for MIP.
getColDualIptGLPK

Retrieve Column Dual Value
getObjCoefsGLPK

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

Retrieve Number of Columns
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
getProbNameGLPK

Retrieve Problem Name
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
mplFreeWkspGLPK

Free Translator Workspace
mipRowValGLPK

Retrieve Row Value
mplAllocWkspGLPK

Allocate Translator Workspace
mplBuildProbGLPK

Build Problem Instance From Model
printMIPGLPK

Write Interior-Point Solution in Printable Format
setColsBndsObjCoefsGLPK

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

Read Problem Data in CPLEX LP Format
setObjNameGLPK

Set/Change Objective Function Name
setProbNameGLPK

Set/Change Problem Name
warmUpGLPK

Warm Up LP Basis
writeIptGLPK

Write Interior-Point Solution to Text File
solveSimplexExactGLPK

Solve LP Problem in Exact Arithmetic
setDefaultIptParmGLPK

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

Delete Columns from Problem Object
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
getDualStatGLPK

Retrieve Status of Dual Basic Solution
getRowUppBndGLPK

Retrieve Row Upper Bound
setColsNamesGLPK

Set/Change Column Names
mipRowsValGLPK

Retrieve Row Value of all Rows
readMPSGLPK

Read Problem Data in MPS Format
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
setRhsZeroGLPK

Set/Change all Row Bounds to Zero
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
getColKindGLPK

Retrieve Column Kind
findColGLPK

Find Column by its Name
getColDualGLPK

Retrieve Column Dual Value
getColsDualGLPK

Retrieve Column Dual Value of all Columns
getColPrimIptGLPK

Retrieve Column Primal Value
getObjNameGLPK

Retrieve Objective Function Name
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
getRowStatGLPK

Retrieve Row Status
getRbindGLPK

Retrieve Row Index in the Basis Header
getRowsStatGLPK

Retrieve Row Status of all Rows
getRowTypeGLPK

Retrieve Row Type
getRowsDualIptGLPK

Retrieve Row Dual Value of all Rows
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
getRowNameGLPK

Retrieve Row Name
getSolStatIptGLPK

Determine Solution Status
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
mplPostsolveGLPK

Postsolve Model
setColsBndsGLPK

Set/Change Column Bounds
mplGenerateGLPK

Generate the Model
setBfcpGLPK

Change Basis Factorization Control Parameters
mipColsValGLPK

Retrieve Column Value of all Columns
setRowBndGLPK

Set/Change Row Bounds
setRowNameGLPK

Set/Change Row Name
setRowsNamesGLPK

Set/Change Row Names
writeMIPGLPK

Write MIP Solution to Text File
mplReadDataGLPK

Read and Translate Data Section
getObjValIptGLPK

Retrieve Objective Value
versionGLPK

Determine GLPK Callable Library Version
bfExistsGLPK

Check if the basis factorization exists
getBfcpGLPK

Retrieve Basis Factorization Control parameters
getColPrimGLPK

Retrieve Column Primal Value
getColStatGLPK

Retrieve Column Status
glpkConstants

Constants, Return and Status Codes of GLPK
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
mipObjValGLPK

Retrieve Objective Value
getRowPrimGLPK

Retrieve Row Primal Value
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
setMatColGLPK

Set (Replace) Column of the Constraint Matrix
unscaleProbGLPK

Problem unscaling
bfUpdatedGLPK

Check if the basis factorization has been updated
copyProbGLPK

Copy problem object content
getBheadGLPK

Retrieve Basis Header Information
findRowGLPK

Find Row by its Name
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
mplReadModelGLPK

Read and Translate Model Section
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
readSolGLPK

Read Basic Solution From Text File
mipColValGLPK

Retrieve Column Value
setDefaultSmpParmGLPK

Sets the Default Control Parameters for the Simplex Methods.
setRowsBndsGLPK

Set/Change Row Bounds
writeSolGLPK

Write Basic Solution to Text File
writeMPSGLPK

Write Problem Data in MPS Format
factorizeGLPK

Compute the basis factorization
getColLowBndGLPK

Retrieve Column Lower Bound
getColsKindGLPK

Retrieve Column Kind
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
getColsStatGLPK

Retrieve Column Status of all Columns
getRowDualGLPK

Retrieve Row Dual Value
getInteriorParmGLPK

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

Retrieve all Column Primal Values
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
mipStatusGLPK

Determine Status of MIP Solution
printIptGLPK

Write Interior-Point Solution in Printable Format
getRowLowBndGLPK

Retrieve Row Lower Bound
readMIPGLPK

Read MIP Solution From Text File
setInteriorParmGLPK

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

Set/Change Column Name
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
setRowStatGLPK

Set row status