Skip to content
This package was removed from CRAN on 2021-11-05. Its history is shown below.
Reason: check problems were not corrected in time
Details below reflect version 1.4.0, its last release before removal.

cplexAPI

1.4.0Package record

R Interface to C API of IBM ILOG CPLEX

0packages dependsuggested by 2
–downloads / year
–test coverage
–flavors OK

Overview

About

This is the R Interface to the C API of IBM ILOG CPLEX. It necessarily depends on IBM ILOG CPLEX (>= 12.1).

Changes in 1.4.0
  • Removed function copyPartBaseCPLEX, because corresponding CPLEX function CPXcopypartialbase was removed in CPLEX Version >= 12.10.0.
  • Adaptation of configure script to extract correct linker options from example Makefile in CPLEX versions >= 10.9.0, if neither environment variables PKG_CPPFLAGS and PKG_LIBS, nor configure arguments --with-cplex-include and --with-cplex-lib are given, and option --with-cplex-dir was given or the respective directory could be extracted from the path variable.
  • Adaptation of configure script to allow more flexibitlity in specifying the CPLEX installation directory with option --with-cplex-dir.
  • Adaptation of Makevars.win to work with CPLEX version 12.10.0.
  • According to a comment from Daniel Junglas, CPLEX functions CPXinitialize and CPXfinalize should be called when the shared library is loaded and unloaded to prevent subtle bugs. CPXinitialize is now called within cplexAPI's .onload() hook. CPXfinalize() is called via a finalizer of the namespace:cplexAPI environment.
  • Small correction in INSTALL file to give the correct information for Windows installation.

From inst/NEWS.Rd in the release

Install

Health

CRAN checks

CRAN check results are not tracked yet.

Advisories

none known

Documentation

In release 1.4.0
READMEYes · 18 wordsVignettesYes · 1 · dynamicNEWSYes · mentions 1.4.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
208includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
0%
Documented parameters
100%
Return-value docs
99%
Help pages citing references
100%

Downloads

cplexAPI
Daily download trend is not available in this view yet.

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.6.0
Imports (1)
methods
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
–indirect (not tracked)
Suggested by 2
Suggests, most downloaded first

Code & Tests

People & History

People (3)
Maintainer since 1.3.6 (2019) · added in 1.3.6
Contributor · added in 1.3.1

Previously maintained by C. Jonathan Fritzemeier (1.3.1 to 1.3.3) and Gabriel Gelius-Dietrich (1.1.8 to 1.2.11).

Releases (13)

Pick two releases to compare their code metrics.

  • R
    R 4.2.0 released · 2022-04-22
  • archivedRemoved from CRAN
    2021-11-05
    check problems were not corrected in time
  • R
    R 4.1.0 released · 2021-05-18
  • 1.4.0
    record
    2020-09-21 · diff ↗ ·
    removed 1 export
    copyPartBaseCPLEX
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.6
    record
    2019-06-21 · diff ↗ ·
    added 36 exports
    CPX_PARAM_PARAMDISPLAY, CPXPARAM_MIP_Strategy_SubMIPScale, CPXPARAM_MIP_Strategy_SubMIPStartAlg, CPXPARAM_MIP_Strategy_SubMIPSubAlg, CPXPARAM_Record, CPXMI_SAMECOEFF_ROW, CPXMI_SAMECOEFF_COL, CPXMI_SAMECOEFF_IND, CPXMI_SAMECOEFF_QLIN, CPXMI_SAMECOEFF_QUAD, CPXMI_SAMECOEFF_LAZY, CPXMI_SAMECOEFF_UCUT, CPXMI_SAMECOEFF_RHS, CPXMI_SAMECOEFF_OBJ, CPXERR_CALLBACK_INCONSISTENT, CPXERR_CAND_NOT_RAY, CPXERR_CAND_NOT_POINT, CPX_CALLBACKCONTEXT_CANDIDATE, CPX_CALLBACKCONTEXT_GLOBAL_PROGRESS, CPX_CALLBACKCONTEXT_LOCAL_PROGRESS, CPX_CALLBACKCONTEXT_RELAXATION, CPX_CALLBACKCONTEXT_THREAD_DOWN, CPX_CALLBACKCONTEXT_THREAD_UP, setLogFileNameCPLEX, getLogFileNameCPLEX, CPX_MAX_PWLSLACK_INFEAS, CPX_SUM_PWLSLACK_INFEAS, CPXERR_BAD_MULTIOBJ_ATTR, CPXERR_MULTIOBJ_SUBPROB_SOLVE, CPXERR_NO_OBJ_NAME and 6 more
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.3.3
    record
    2017-01-31 · diff ↗ ·
    removed 2 exports
    addChannelCPLEX, delChannelCPLEX
  • 1.3.2
    record
    2016-11-21 · diff ↗ ·
    added 1 export
    getNumQConstrsCPLEX
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3.1
    record
    2015-11-30 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.2.11
    record
    2014-07-28 · diff ↗ ·
    added 174 exports
    addIndConstrCPLEX, addQConstrCPLEX, delIndConstrsCPLEX, delQConstrsCPLEX, getIndConstrCPLEX, getQConstrCPLEX, CPX_PARAM_CALCQCPDUALS, CPX_PARAM_LANDPCUTS, CPX_PARAM_RAMPUPDETTILIM, CPX_PARAM_RAMPUPDURATION, CPX_PARAM_RAMPUPTILIM, CPX_SOLUTIONTARGET_OPTIMALGLOBAL, CPXPARAM_Advance, CPXPARAM_Barrier_Algorithm, CPXPARAM_Barrier_ColNonzeros, CPXPARAM_Barrier_ConvergeTol, CPXPARAM_Barrier_Crossover, CPXPARAM_Barrier_Display, CPXPARAM_Barrier_Limits_Corrections, CPXPARAM_Barrier_Limits_Growth, CPXPARAM_Barrier_Limits_Iteration, CPXPARAM_Barrier_Limits_ObjRange, CPXPARAM_Barrier_Ordering, CPXPARAM_Barrier_QCPConvergeTol, CPXPARAM_Barrier_StartAlg, CPXPARAM_ClockType, CPXPARAM_Conflict_Display, CPXPARAM_DetTimeLimit, CPXPARAM_DistMIP_Rampup_DetTimeLimit, CPXPARAM_DistMIP_Rampup_Duration and 144 more
  • R
    R 3.1.0 released · 2014-04-10
Show 11 earlier eventsHide 11 earlier events
  • 1.2.9
    record
    2013-05-23 · diff ↗ ·
    added 5 exports
    copyOrderCPLEX, getMIPrelGapCPLEX, getOrderCPLEX, ordWriteCPLEX, readCopyOrderCPLEX
  • R
    R 3.0.0 released · 2013-04-03
  • 1.2.6
    record
    2013-01-23 · diff ↗
  • 1.2.4
    record
    2012-12-19 · diff ↗ ·
    added 2 exports
    copyQPsepCPLEX, checkCopyQPsepCPLEX
  • 1.2.3
    record
    2012-10-01 · diff ↗ ·
    added 2 exports
    getBestObjValCPLEX, getMIPstartsCPLEX
  • 1.2.2
    record
    2012-04-20 · diff ↗ ·
    removed 5 exports
    ptr, pType, pType<-, isNULLpointer, getMIPstartsCPLEX
    added 4 exports
    cplexPointer, cplexPtrType, cplexPtrType<-, isNULLpointerCPLEX
  • R
    R 2.15.0 released · 2012-03-30
  • 1.2.1
    record
    2012-03-15 · diff ↗ ·
    removed 1 export
    as.cpxerr
    added 37 exports
    ptr, pType, pType<-, isCPLEXprobPointer, isCPLEXenvPointer, isCPLEXfilePointer, isCPLEXchanPointer, isCPLEXtermPointer, isNULLpointer, summary, addMIPstartsCPLEX, chgMIPstartsCPLEX, chgQPcoefCPLEX, copyQuadCPLEX, delMIPstartsCPLEX, getConflictExtCPLEX, getMIPstartIndexCPLEX, getMIPstartNameCPLEX, getMIPstartsCPLEX, getNumMIPstartsCPLEX, getNumQuadCPLEX, getQPcoefCPLEX, getNumQPnzCPLEX, getQuadCPLEX, qpoptCPLEX, readCopyMIPstartsCPLEX, refineConflictExtCPLEX, refineMIPstartConflictCPLEX, refineMIPstartConflictExtCPLEX, writeMIPstartsCPLEX and 7 more
  • R
    R 2.14.0 released · 2011-10-31
  • 1.1.8
    record
    2011-08-24
  • R
    R 2.13.0 released · 2011-04-13

Package metadata

First published
2011-08-24
Total releases
13 / 15 yrs
License
GPL-3 | file LICENSE OSI
Minimum R
≥ 2.6.0

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cplexAPI")
Roettger, M., Gelius-Dietrich, G., & Jonathan, C. (n.d.). cplexAPI: R Interface to C API of IBM ILOG CPLEX (Version 1.4.0) [Computer software]. Retrieved October 25, 2026, from https://CRAN.R-project.org/package=cplexAPI

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cplexAPI version 1.4.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy