Learn R Programming

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

glpkAPI (version 1.2.11)

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

License

GPL-3

Maintainer

Gabriel Gelius-Dietrich

Last Published

November 16th, 2014

Functions in glpkAPI (1.2.11)

findRowGLPK

Find Row by its Name
cpxBasisGLPK

Construct Bixby's initial LP basis
getColsStatGLPK

Retrieve Column Status of all Columns
getRbindGLPK

Retrieve Row Index in the Basis Header
getColTypeGLPK

Retrieve Column Type
glpkConstants

Constants, Return and Status Codes of GLPK
getUnbndRayGLPK

Determine Variable Causing Unboundedness
setDefaultIptParmGLPK

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

Sort Elements of the Constraint Matrix
getObjNameGLPK

Retrieve Objective Function Name
getRowPrimIptGLPK

Retrieve Row Primal Value
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
getRowNameGLPK

Retrieve Row Name
getBfcpGLPK

Retrieve Basis Factorization Control parameters
getColKindGLPK

Retrieve Column Kind
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
getDualStatGLPK

Retrieve Status of Dual Basic Solution
getObjValIptGLPK

Retrieve Objective Value
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
getColLowBndGLPK

Retrieve Column Lower Bound
mplPostsolveGLPK

Postsolve Model
getRowsStatGLPK

Retrieve Row Status of all Rows
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
setObjNameGLPK

Set/Change Objective Function Name
mplReadModelGLPK

Read and Translate Model Section
setRowStatGLPK

Set row status
printRangesGLPK

Print Sensitivity Analysis Report
addRowsGLPK

Add Rows to a GLPK Problem Object
getCbindGLPK

Retrieve Column Index in the Basis Header
getNumColsGLPK

Retrieve Number of Columns
getColUppBndGLPK

Retrieve Column Upper Bound
readMPSGLPK

Read Problem Data in MPS Format
getBheadGLPK

Retrieve Basis Header Information
setObjDirGLPK

Set/Change Optimization Direction Flag
getRowsTypesGLPK

Retrieve Types of Specified Constraints (Rows)
setColsBndsObjCoefsGLPK

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

Translates a GLPK Status Value into a Human Readable String
getSolStatIptGLPK

Determine Solution Status
getObjDirGLPK

Retrieve Optimization Direction Flag
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
delColsGLPK

Delete Columns from Problem Object
bfExistsGLPK

Check if the basis factorization exists
eraseProbGLPK

Erase problem object content
getMIPParmGLPK

Retrives the Control Parameters for MIP.
setColBndGLPK

Set/Change Column Bounds
copyProbGLPK

Copy problem object content
delProbGLPK

Delete Problem Object
delRowsGLPK

Delete Rows from Problem Object
setInteriorParmGLPK

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

Retrieve Number of Integer Columns
unscaleProbGLPK

Problem unscaling
deleteIndexGLPK

Delete the Name Index
getRowStatGLPK

Retrieve Row Status
factorizeGLPK

Compute the basis factorization
getColDualGLPK

Retrieve Column Dual Value
getColPrimIptGLPK

Retrieve Column Primal Value
getRiiGLPK

Retrieve row scale factor
getColsDualGLPK

Retrieve Column Dual Value of all Columns
setSjjGLPK

Retrieve column scale factor
getNumRowsGLPK

Retrieve Number of Rows
warmUpGLPK

Warm Up LP Basis
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
setBfcpGLPK

Change Basis Factorization Control Parameters
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
createIndexGLPK

Create the Name Index
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
getColStatGLPK

Retrieve Column Status
getRowLowBndGLPK

Retrieve Row Lower Bound
bfUpdatedGLPK

Check if the basis factorization has been updated
getColNameGLPK

Retrieve Column Name
printSolGLPK

Write Basic Solution in Printable Format
getRowDualGLPK

Retrieve Row Dual Value
getInteriorParmGLPK

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

Write Interior-Point Solution in Printable Format
getRowTypeGLPK

Retrieve Row Type
setColKindGLPK

Set Column Kind
getObjCoefsGLPK

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

Retrieve Column Primal Value
getRowDualIptGLPK

Retrieve Row Dual Value
mplReadDataGLPK

Read and Translate Data Section
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
getColsPrimGLPK

Retrieve all Column Primal Values
getColDualIptGLPK

Retrieve Column Dual Value
setRowsNamesGLPK

Set/Change Row Names
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
setRowsBndsGLPK

Set/Change Row Bounds
getRowPrimGLPK

Retrieve Row Primal Value
readLPGLPK

Read Problem Data in CPLEX LP Format
glpkAPI-package

R Interface to C API of GLPK
mipObjValGLPK

Retrieve Objective Value
findColGLPK

Find Column by its Name
mipRowValGLPK

Retrieve Row Value
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
setProbNameGLPK

Set/Change Problem Name
mipColsValGLPK

Retrieve Column Value of all Columns
writeSolGLPK

Write Basic Solution to Text File
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
readIptGLPK

Read Interior-Point Solution From Text File
versionGLPK

Determine GLPK Callable Library Version
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
printMIPGLPK

Write Interior-Point Solution in Printable Format
writeLPGLPK

Write Problem Data in CPLEX LP Format
mplFreeWkspGLPK

Free Translator Workspace
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getSolStatGLPK

Determine Generic Status of the Basic Soluton
initProbGLPK

Create a GLPK Problem Object
getRowUppBndGLPK

Retrieve Row Upper Bound
mipRowsValGLPK

Retrieve Row Value of all Rows
getProbNameGLPK

Retrieve Problem Name
getRowsDualIptGLPK

Retrieve Row Dual Value of all Rows
addColsGLPK

Add Columns to a GLPK Problem Object
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
getNumBinGLPK

Retrieve Number of Binary Columns
setColsBndsGLPK

Set/Change Column Bounds
glpkPtr-class

Class "glpkPtr"
getObjValGLPK

Retrieve Objective Value
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
setMatColGLPK

Set (Replace) Column of the Constraint Matrix
scaleProbGLPK

Scale Problem Data
setRiiGLPK

Set row scale factor
mipStatusGLPK

Determine Status of MIP Solution
setDefaultSmpParmGLPK

Sets the Default Control Parameters for the Simplex Methods.
setColStatGLPK

Set column status
getSjjGLPK

Retrieve column scale factor
readProbGLPK

Read Problem Data in GLPK F ormat
solveMIPGLPK

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

Solve LP Problem in Exact Arithmetic
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
setRowNameGLPK

Set/Change Row Name
setColNameGLPK

Set/Change Column Name
getColsKindGLPK

Retrieve Column Kind
writeMIPGLPK

Write MIP Solution to Text File
mplGenerateGLPK

Generate the Model
readSolGLPK

Read Basic Solution From Text File
readMIPGLPK

Read MIP Solution From Text File
setRhsZeroGLPK

Set/Change all Row Bounds to Zero
getColsPrimIptGLPK

Retrieve all Column Primal Values
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
termOutGLPK

Enable/Disable Terminal Output
setColsKindGLPK

Set Column Kind for a Set of Columns
writeMPSGLPK

Write Problem Data in MPS Format
setRowBndGLPK

Set/Change Row Bounds
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
stdBasisGLPK

Contruct Standard Initial LP Basis
writeProbGLPK

Write Problem Data in GLPK Format
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
mplBuildProbGLPK

Build Problem Instance From Model
mplAllocWkspGLPK

Allocate Translator Workspace
setColsNamesGLPK

Set/Change Column Names
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
writeIptGLPK

Write Interior-Point Solution to Text File
advBasisGLPK

Contruct Advanced Initial LP Basis
mipColValGLPK

Retrieve Column Value