Learn R Programming

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

glpkAPI (version 1.2.8)

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

License

GPL-3

Maintainer

Gabriel Gelius-Dietrich

Last Published

July 16th, 2013

Functions in glpkAPI (1.2.8)

getCbindGLPK

Retrieve Column Index in the Basis Header
getColPrimIptGLPK

Retrieve Column Primal Value
getObjCoefsGLPK

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

Retrieve Row Primal Value
getRbindGLPK

Retrieve Row Index in the Basis Header
mplBuildProbGLPK

Build Problem Instance From Model
readMIPGLPK

Read MIP Solution From Text File
setDefaultSmpParmGLPK

Sets the Default Control Parameters for the Simplex Methods.
setObjNameGLPK

Set/Change Objective Function Name
solveMIPGLPK

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

Write Basic Solution to Text File
setInteriorParmGLPK

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

Warm Up LP Basis
bfUpdatedGLPK

Check if the basis factorization has been updated
eraseProbGLPK

Erase problem object content
delRowsGLPK

Delete Rows from Problem Object
createIndexGLPK

Create the Name Index
getColStatGLPK

Retrieve Column Status
getColTypeGLPK

Retrieve Column Type
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
getObjValGLPK

Retrieve Objective Value
getRowTypeGLPK

Retrieve Row Type
addColsGLPK

Add Columns to a GLPK Problem Object
getBfcpGLPK

Retrieve Basis Factorization Control parameters
initProbGLPK

Create a GLPK Problem Object
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
getColsKindGLPK

Retrieve Column Kind
getNumIntGLPK

Retrieve Number of Integer Columns
getRiiGLPK

Retrieve row scale factor
getObjValIptGLPK

Retrieve Objective Value
glpkConstants

Constants, Return and Status Codes of GLPK
mplFreeWkspGLPK

Free Translator Workspace
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
mplReadDataGLPK

Read and Translate Data Section
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
setColStatGLPK

Set column status
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
mplGenerateGLPK

Generate the Model
getSjjGLPK

Retrieve column scale factor
readLPGLPK

Read Problem Data in CPLEX LP Format
readSolGLPK

Read Basic Solution From Text File
setColsNamesGLPK

Set/Change Column Names
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
glpkPtr-class

Class "glpkPtr"
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
delProbGLPK

Delete Problem Object
addRowsGLPK

Add Rows to a GLPK Problem Object
cpxBasisGLPK

Construct Bixby's initial LP basis
factorizeGLPK

Compute the basis factorization
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
getNumBinGLPK

Retrieve Number of Binary Columns
getRowsDualIptGLPK

Retrieve Row Dual Value of all Rows
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
readMPSGLPK

Read Problem Data in MPS Format
setDefaultIptParmGLPK

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

Set/Change all Row Bounds to Zero
writeIptGLPK

Write Interior-Point Solution to Text File
writeProbGLPK

Write Problem Data in GLPK Format
writeLPGLPK

Write Problem Data in CPLEX LP Format
setRowsBndsGLPK

Set/Change Row Bounds
setRowNameGLPK

Set/Change Row Name
findColGLPK

Find Column by its Name
getColLowBndGLPK

Retrieve Column Lower Bound
delColsGLPK

Delete Columns from Problem Object
getColUppBndGLPK

Retrieve Column Upper Bound
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
getColPrimGLPK

Retrieve Column Primal Value
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
glpkAPI-package

R Interface to C API of GLPK
mplAllocWkspGLPK

Allocate Translator Workspace
getColKindGLPK

Retrieve Column Kind
setColBndGLPK

Set/Change Column Bounds
setColKindGLPK

Set Column Kind
setColsBndsObjCoefsGLPK

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

Translates a GLPK Status Value into a Human Readable String
unscaleProbGLPK

Problem unscaling
mipColsValGLPK

Retrieve Column Value of all Columns
copyProbGLPK

Copy problem object content
getColDualGLPK

Retrieve Column Dual Value
getColDualIptGLPK

Retrieve Column Dual Value
getColsDualGLPK

Retrieve Column Dual Value of all Columns
findRowGLPK

Find Row by its Name
getColsPrimGLPK

Retrieve all Column Primal Values
mipRowsValGLPK

Retrieve Row Value of all Rows
getObjNameGLPK

Retrieve Objective Function Name
getObjDirGLPK

Retrieve Optimization Direction Flag
printMIPGLPK

Write Interior-Point Solution in Printable Format
mipRowValGLPK

Retrieve Row Value
getRowDualGLPK

Retrieve Row Dual Value
getMIPParmGLPK

Retrives the Control Parameters for MIP.
scaleProbGLPK

Scale Problem Data
getSolStatIptGLPK

Determine Solution Status
getRowStatGLPK

Retrieve Row Status
mipColValGLPK

Retrieve Column Value
getRowsStatGLPK

Retrieve Row Status of all Rows
mipObjValGLPK

Retrieve Objective Value
setBfcpGLPK

Change Basis Factorization Control Parameters
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
setSjjGLPK

Retrieve column scale factor
printRangesGLPK

Print Sensitivity Analysis Report
writeMPSGLPK

Write Problem Data in MPS Format
solveSimplexExactGLPK

Solve LP Problem in Exact Arithmetic
setProbNameGLPK

Set/Change Problem Name
getColsPrimIptGLPK

Retrieve all Column Primal Values
printSolGLPK

Write Basic Solution in Printable Format
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
setColsBndsGLPK

Set/Change Column Bounds
setRowStatGLPK

Set row status
termOutGLPK

Enable/Disable Terminal Output
getColsStatGLPK

Retrieve Column Status of all Columns
getProbNameGLPK

Retrieve Problem Name
getRowDualIptGLPK

Retrieve Row Dual Value
mplPostsolveGLPK

Postsolve Model
mipStatusGLPK

Determine Status of MIP Solution
printIptGLPK

Write Interior-Point Solution in Printable Format
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
setMatColGLPK

Set (Replace) Column of the Constraint Matrix
setRiiGLPK

Set row scale factor
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
sortMatrixGLPK

Sort Elements of the Constraint Matrix
setColsKindGLPK

Set Column Kind for a Set of Columns
setObjDirGLPK

Set/Change Optimization Direction Flag
stdBasisGLPK

Contruct Standard Initial LP Basis
getSolStatGLPK

Determine Generic Status of the Basic Soluton
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
getNumRowsGLPK

Retrieve Number of Rows
advBasisGLPK

Contruct Advanced Initial LP Basis
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
getNumColsGLPK

Retrieve Number of Columns
getRowLowBndGLPK

Retrieve Row Lower Bound
getDualStatGLPK

Retrieve Status of Dual Basic Solution
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
getUnbndRayGLPK

Determine Variable Causing Unboundedness
getRowNameGLPK

Retrieve Row Name
readIptGLPK

Read Interior-Point Solution From Text File
setColNameGLPK

Set/Change Column Name
setRowBndGLPK

Set/Change Row Bounds
versionGLPK

Determine GLPK Callable Library Version
writeMIPGLPK

Write MIP Solution to Text File
bfExistsGLPK

Check if the basis factorization exists
deleteIndexGLPK

Delete the Name Index
getColNameGLPK

Retrieve Column Name
getInteriorParmGLPK

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

Retrieve Basis Header Information
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getRowUppBndGLPK

Retrieve Row Upper Bound
getRowsTypesGLPK

Retrieve Types of Specified Constraints (Rows)
getRowPrimGLPK

Retrieve Row Primal Value
readProbGLPK

Read Problem Data in GLPK F ormat
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
setRowsNamesGLPK

Set/Change Row Names
mplReadModelGLPK

Read and Translate Model Section