Learn R Programming

clpAPI (version 1.3.1)

isAvailableFuncCLP: Check if some newer functions relying on CLP version >= 1.17.2 are available

Description

Checks if functions like setRowNameCLP, setColNameCLP, writeMpsCLP, and modifyCoefficientCLP are available.

Usage

isAvailableFuncCLP(funcname)

Arguments

funcname

The name of the function.

Value

TRUE, if the respective function is available, returns FALSE, if it is not. If the funcname does not match one of the mentioned functions, it returns FALSE.

Details

Some functions of the API require that the package was build against CLP version >= 1.17.2, otherwise they will be dummy functions. These functions are setRowNameCLP, setColNameCLP, writeMpsCLP, and modifyCoefficientCLP. This function tests, if these functions are available.