openProbCPLEX: Create new CPLEX Environment And New CPLEX Problem Object

Description Usage Arguments Details Value Author(s) References See Also

View source: R/cplexAPI.R

Description

The function openProbCPLEX creates a new CPLEX environment and a new CPLEX problem object.

Usage

1
2
3
  openProbCPLEX(pname = "CPLEX_PROB",
                ptrtypeENV = "cplex_env",
                ptrtypePROB = "cplex_prob")

Arguments

pname

A single character string containing the name of the problem object.

ptrtypeENV

A name for the IBM ILOG CPLEX environment pointer object.

ptrtypePROB

A name for the IBM ILOG CPLEX problem pointer object.

Details

Interface to the C functions openEnv and initProb calling CPLEX functions CPXopenCPLEX and CPXcreateprob.

Value

env

A pointer to the CPLEX environment as returned by openEnvCPLEX.

lp

A pointer to the CPLEX problem object as returned by initProbCPLEX.

If openEnvCPLEX() failes, env will be of class "cplexError" and lp will be NULL. Each list element is an object of class "cplexPtr".

Author(s)

Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>

Maintainer: Mayo Roettger <mayo.roettger@hhu.de>

References

The IBM ILOG CPLEX home page at https://www.ibm.com/support/knowledgecenter/SSSA5P.

See Also

closeProbCPLEX, openEnvCPLEX, initProbCPLEX


cplexAPI documentation built on Oct. 23, 2020, 5:45 p.m.