Learn R Programming

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

glpkAPI (version 1.2.5)

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

License

GPL-3

Maintainer

Gabriel Gelius-Dietrich

Last Published

November 15th, 2012

Functions in glpkAPI (1.2.5)

createIndexGLPK

Create the Name Index
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
getRowDualGLPK

Retrieve Row Dual Value
mplReadDataGLPK

Read and Translate Data Section
mplReadModelGLPK

Read and Translate Model Section
readIptGLPK

Read Interior-Point Solution From Text File
mplAllocWkspGLPK

Allocate Translator Workspace
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
setObjDirGLPK

Set/Change Optimization Direction Flag
stdBasisGLPK

Contruct Standard Initial LP Basis
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
getColLowBndGLPK

Retrieve Column Lower Bound
getBfcpGLPK

Retrieve Basis Factorization Control parameters
getColStatGLPK

Retrieve Column Status
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
getColsStatGLPK

Retrieve Column Status of all Columns
getMIPParmGLPK

Retrives the Control Parameters for MIP.
getObjDirGLPK

Retrieve Optimization Direction Flag
getNumColsGLPK

Retrieve Number of Columns
setInteriorParmGLPK

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

Create a GLPK Problem Object
mipStatusGLPK

Determine Status of MIP Solution
setRowStatGLPK

Set row status
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
status_codeGLPK

Translates a GLPK Status Value into a Human Readable String
getColKindGLPK

Retrieve Column Kind
getColsDualGLPK

Retrieve Column Dual Value of all Columns
getColUppBndGLPK

Retrieve Column Upper Bound
getObjCoefsGLPK

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

Retrieve Objective Function Name
getObjValGLPK

Retrieve Objective Value
getRowUppBndGLPK

Retrieve Row Upper Bound
getRowsStatGLPK

Retrieve Row Status of all Rows
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
unscaleProbGLPK

Problem unscaling
writeMPSGLPK

Write Problem Data in MPS Format
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
getBheadGLPK

Retrieve Basis Header Information
addRowsGLPK

Add Rows to a GLPK Problem Object
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
getUnbndRayGLPK

Determine Variable Causing Unboundedness
mipColValGLPK

Retrieve Column Value
mipRowsValGLPK

Retrieve Row Value of all Rows
mplGenerateGLPK

Generate the Model
printMIPGLPK

Write Interior-Point Solution in Printable Format
setBfcpGLPK

Change Basis Factorization Control Parameters
setColsBndsGLPK

Set/Change Column Bounds
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
termOutGLPK

Enable/Disable Terminal Output
eraseProbGLPK

Erase problem object content
deleteIndexGLPK

Delete the Name Index
delColsGLPK

Delete Columns from Problem Object
getColsPrimGLPK

Retrieve all Column Primal Values
getRowsDualIptGLPK

Retrieve Row Dual Value of all Rows
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
getRbindGLPK

Retrieve Row Index in the Basis Header
glpkPtr-class

Class "glpkPtr"
mplFreeWkspGLPK

Free Translator Workspace
mplPostsolveGLPK

Postsolve Model
setColsKindGLPK

Set Column Kind for a Set of Columns
setDefaultIptParmGLPK

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

Set row scale factor
writeSolGLPK

Write Basic Solution to Text File
writeIptGLPK

Write Interior-Point Solution to Text File
factorizeGLPK

Compute the basis factorization
getColTypeGLPK

Retrieve Column Type
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
getNumIntGLPK

Retrieve Number of Integer Columns
getRowPrimGLPK

Retrieve Row Primal Value
glpkAPI-package

R Interface to C API of GLPK
mipObjValGLPK

Retrieve Objective Value
mipRowValGLPK

Retrieve Row Value
glpkConstants

Constants, Return and Status Codes of GLPK
scaleProbGLPK

Scale Problem Data
setColNameGLPK

Set/Change Column Name
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
bfUpdatedGLPK

Check if the basis factorization has been updated
getCbindGLPK

Retrieve Column Index in the Basis Header
getColDualGLPK

Retrieve Column Dual Value
getColsPrimIptGLPK

Retrieve all Column Primal Values
getInteriorParmGLPK

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

Retrieve Objective Value
getNumRowsGLPK

Retrieve Number of Rows
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
readProbGLPK

Read Problem Data in GLPK F ormat
getSjjGLPK

Retrieve column scale factor
setColsBndsObjCoefsGLPK

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

Set (Replace) Column of the Constraint Matrix
setRowNameGLPK

Set/Change Row Name
findColGLPK

Find Column by its Name
getColNameGLPK

Retrieve Column Name
getColPrimIptGLPK

Retrieve Column Primal Value
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getColsKindGLPK

Retrieve Column Kind
getRowDualIptGLPK

Retrieve Row Dual Value
getRowLowBndGLPK

Retrieve Row Lower Bound
getSolStatIptGLPK

Determine Solution Status
mplBuildProbGLPK

Build Problem Instance From Model
printIptGLPK

Write Interior-Point Solution in Printable Format
setColStatGLPK

Set column status
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
getRowTypeGLPK

Retrieve Row Type
copyProbGLPK

Copy problem object content
bfExistsGLPK

Check if the basis factorization exists
delProbGLPK

Delete Problem Object
getColDualIptGLPK

Retrieve Column Dual Value
cpxBasisGLPK

Construct Bixby's initial LP basis
getColPrimGLPK

Retrieve Column Primal Value
getRiiGLPK

Retrieve row scale factor
getRowNameGLPK

Retrieve Row Name
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
mipColsValGLPK

Retrieve Column Value of all Columns
readMIPGLPK

Read MIP Solution From Text File
printRangesGLPK

Print Sensitivity Analysis Report
readLPGLPK

Read Problem Data in CPLEX LP Format
setColKindGLPK

Set Column Kind
setDefaultSmpParmGLPK

Sets the Default Control Parameters for the Simplex Methods.
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
setRowsBndsGLPK

Set/Change Row Bounds
solveMIPGLPK

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

Determine Library Version
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
solveSimplexExactGLPK

Solve LP Problem in Exact Arithmetic
getNumBinGLPK

Retrieve Number of Binary Columns
setColBndGLPK

Set/Change Column Bounds
getSolStatGLPK

Determine Generic Status of the Basic Soluton
advBasisGLPK

Contruct Advanced Initial LP Basis
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
printSolGLPK

Write Basic Solution in Printable Format
delRowsGLPK

Delete Rows from Problem Object
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
getRowPrimIptGLPK

Retrieve Row Primal Value
readMPSGLPK

Read Problem Data in MPS Format
writeLPGLPK

Write Problem Data in CPLEX LP Format
findRowGLPK

Find Row by its Name
writeMIPGLPK

Write MIP Solution to Text File
setRhsZeroGLPK

Set/Change all Row Bounds to Zero
getRowStatGLPK

Retrieve Row Status
readSolGLPK

Read Basic Solution From Text File
getDualStatGLPK

Retrieve Status of Dual Basic Solution
setProbNameGLPK

Set/Change Problem Name
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
warmUpGLPK

Warm Up LP Basis
writeProbGLPK

Write Problem Data in GLPK Format
setSjjGLPK

Retrieve column scale factor
getProbNameGLPK

Retrieve Problem Name