Learn R Programming

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

glpkAPI (version 1.2.1)

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

License

GPL-3

Maintainer

Gabriel Gelius-Dietrich

Last Published

March 15th, 2012

Functions in glpkAPI (1.2.1)

printRangesGLPK

Print Sensitivity Analysis Report
glpkAPI-package

R Interface to C API of GLPK
setObjDirGLPK

Set/Change Optimization Direction Flag
getColsDualIptGLPK

Retrieve Column Dual Value of all Columns
solveSimplexExactGLPK

Solve LP Problem in Exact Arithmetic
setColsBndsGLPK

Set/Change Column Bounds
getUnbndRayGLPK

Determine Variable Causing Unboundedness
setRowNameGLPK

Set/Change Row Name
copyProbGLPK

Copy problem object content
mplAllocWkspGLPK

Allocate Translator Workspace
getRbindGLPK

Retrieve Row Index in the Basis Header
getDualStatGLPK

Retrieve Status of Dual Basic Solution
setBfcpGLPK

Change Basis Factorization Control Parameters
getObjValGLPK

Retrieve Objective Value
getRowLowBndGLPK

Retrieve Row Lower Bound
getColPrimIptGLPK

Retrieve Column Primal Value
getRowsPrimGLPK

Retrieve Row Primal Value of all Rows
getRowStatGLPK

Retrieve Row Status
getColPrimGLPK

Retrieve Column Primal Value
delProbGLPK

Delete Problem Object
getColUppBndGLPK

Retrieve Column Upper Bound
deleteIndexGLPK

Delete the Name Index
createIndexGLPK

Create the Name Index
getRowsDualGLPK

Retrieve Row Dual Values of all Rows
delColsGLPK

Delete Columns from Problem Object
setObjCoefGLPK

Set/Change Objective Coefficient or Constant Term
delRowsGLPK

Delete Rows from Problem Object
getNumIntGLPK

Retrieve Number of Integer Columns
setRhsZeroGLPK

Set/Change all Row Bounds to Zero
mplReadModelGLPK

Read and Translate Model Section
getRowNameGLPK

Retrieve Row Name
getBfcpGLPK

Retrieve Basis Factorization Control parameters
addColsGLPK

Add Columns to a GLPK Problem Object
bfExistsGLPK

Check if the basis factorization exists
getRowsDualIptGLPK

Retrieve Row Dual Value of all Rows
getCbindGLPK

Retrieve Column Index in the Basis Header
getRiiGLPK

Retrieve row scale factor
solveInteriorGLPK

Solve LP Problem with the Interior-Point Method
addRowsGLPK

Add Rows to a GLPK Problem Object
getMatColGLPK

Retrieves Column j of the Constraint Matrix.
setMIPParmGLPK

Sets/Changes Control Parameters or the MIP Methods
cpxBasisGLPK

Construct Bixby's initial LP basis
loadMatrixGLPK

Load/Replace the Whole Constraint Matrix
getPrimStatGLPK

Retrieve Status of Primal Basic Solution
getColsPrimGLPK

Retrieve all Column Primal Values
getColsKindGLPK

Retrieve Column Kind
mipColValGLPK

Retrieve Column Value
setRowsBndsGLPK

Set/Change Row Bounds
writeSolGLPK

Write Basic Solution to Text File
getObjDirGLPK

Retrieve Optimization Direction Flag
glpkPtr-class

Class "glpkPtr"
factorizeGLPK

Compute the basis factorization
getColsLowBndsGLPK

Retrieve Lower Bounds of Specified Columns
printMIPGLPK

Write Interior-Point Solution in Printable Format
getObjNameGLPK

Retrieve Objective Function Name
setColStatGLPK

Set column status
getColKindGLPK

Retrieve Column Kind
getSolStatGLPK

Determine Generic Status of the Basic Soluton
getNumNnzGLPK

Retrieve the Number of Constraint Coefficients
getNumColsGLPK

Retrieve Number of Columns
findRowGLPK

Find Row by its Name
getColsDualGLPK

Retrieve Column Dual Value of all Columns
setSjjGLPK

Retrieve column scale factor
advBasisGLPK

Contruct Advanced Initial LP Basis
getMIPParmGLPK

Retrives the Control Parameters for MIP.
eraseProbGLPK

Erase problem object content
getColsUppBndsGLPK

Retrieve Upper Bounds of Specified Columns
getColTypeGLPK

Retrieve Column Type
getSimplexParmGLPK

Retrives the Control Parameters for the Simplex Method.
getRowPrimGLPK

Retrieve Row Primal Value
getColLowBndGLPK

Retrieve Column Lower Bound
getNumBinGLPK

Retrieve Number of Binary Columns
getMatRowGLPK

Retrieves Row i of the Constraint Matrix.
getRowsStatGLPK

Retrieve Row Status of all Rows
getObjCoefGLPK

Retrieve Objective Coefficient or Constant Term
getColDualIptGLPK

Retrieve Column Dual Value
writeLPGLPK

Write Problem Data in CPLEX LP Format
scaleProbGLPK

Scale Problem Data
return_codeGLPK

Translates a GLPK Return Code into a Human Readable String
getRowUppBndGLPK

Retrieve Row Upper Bound
getColNameGLPK

Retrieve Column Name
setRiiGLPK

Set row scale factor
mplBuildProbGLPK

Build Problem Instance From Model
solveMIPGLPK

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

Set (Replace) Column of the Constraint Matrix
getRowsLowBndsGLPK

Retrieve Lower Bounds of Specified Rows
getRowsPrimIptGLPK

Retrieve Row Primal Value of all Rows
getColsPrimIptGLPK

Retrieve all Column Primal Values
getInteriorParmGLPK

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

Read Problem Data in GLPK F ormat
mipRowsValGLPK

Retrieve Row Value of all Rows
setColNameGLPK

Set/Change Column Name
readLPGLPK

Read Problem Data in CPLEX LP Format
glpkConstants

Constants, Return and Status Codes of GLPK
getNumRowsGLPK

Retrieve Number of Rows
getRowTypeGLPK

Retrieve Row Type
getBheadGLPK

Retrieve Basis Header Information
getSolStatIptGLPK

Determine Solution Status
getObjCoefsGLPK

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

Retrieve Row Value
readMPSGLPK

Read Problem Data in MPS Format
setObjCoefsGLPK

Set/Change Objective Coefficients and/or Constant Term
getRowDualGLPK

Retrieve Row Dual Value
mplPostsolveGLPK

Postsolve Model
getProbNameGLPK

Retrieve Problem Name
writeIptGLPK

Write Interior-Point Solution to Text File
getRowPrimIptGLPK

Retrieve Row Primal Value
status_codeGLPK

Translates a GLPK Status Value into a Human Readable String
setColsBndsObjCoefsGLPK

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

Read MIP Solution From Text File
getColDualGLPK

Retrieve Column Dual Value
setRowStatGLPK

Set row status
setColBndGLPK

Set/Change Column Bounds
checkDupGLPK

Check for Duplicate Elements in Sparse Matrix
findColGLPK

Find Column by its Name
bfUpdatedGLPK

Check if the basis factorization has been updated
mplFreeWkspGLPK

Free Translator Workspace
mplReadDataGLPK

Read and Translate Data Section
getSjjGLPK

Retrieve column scale factor
initProbGLPK

Create a GLPK Problem Object
writeMIPGLPK

Write MIP Solution to Text File
mplGenerateGLPK

Generate the Model
setColKindGLPK

Set Column Kind
setObjNameGLPK

Set/Change Objective Function Name
setProbNameGLPK

Set/Change Problem Name
getColStatGLPK

Retrieve Column Status
readIptGLPK

Read Interior-Point Solution From Text File
unscaleProbGLPK

Problem unscaling
readSolGLPK

Read Basic Solution From Text File
mipObjValGLPK

Retrieve Objective Value
printSolGLPK

Write Basic Solution in Printable Format
getRowDualIptGLPK

Retrieve Row Dual Value
writeProbGLPK

Write Problem Data in GLPK Format
printIptGLPK

Write Interior-Point Solution in Printable Format
setSimplexParmGLPK

Sets/Changes Control Parameters or the Simplex Methods.
setDefaultMIPParmGLPK

Sets the Default Control Parameters for the MIP Method
setInteriorParmGLPK

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

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

Set Column Kind for a Set of Columns
mipStatusGLPK

Determine Status of MIP Solution
warmUpGLPK

Warm Up LP Basis
mipColsValGLPK

Retrieve Column Value of all Columns
getRowsUppBndsGLPK

Retrieve Upper Bounds of Specified Rows
stdBasisGLPK

Contruct Standard Initial LP Basis
setDefaultSmpParmGLPK

Sets the Default Control Parameters for the Simplex Methods.
setMatRowGLPK

Set (Replace) Row of the Constraint Matrix
sortMatrixGLPK

Sort Elements of the Constraint Matrix
setRowBndGLPK

Set/Change Row Bounds
getColsStatGLPK

Retrieve Column Status of all Columns
versionGLPK

Determine Library Version
solveSimplexGLPK

Solve LP Problem with the Primal or Dual Simplex Method
setColsNamesGLPK

Set/Change Column Names
getRowsTypesGLPK

Retrieve Types of Specified Constraints (Rows)
getObjValIptGLPK

Retrieve Objective Value
termOutGLPK

Enable/Disable Terminal Output
setRowsNamesGLPK

Set/Change Row Names
writeMPSGLPK

Write Problem Data in MPS Format