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: Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uni-duesseldorf.de>

References

The IBM ILOG CPLEX home page at https://www.ibm.com/developerworks/university/academicinitiative/.

See Also

closeProbCPLEX, openEnvCPLEX, initProbCPLEX


cplexAPI documentation built on May 29, 2017, 9:30 a.m.

Search within the cplexAPI package
Search all R packages, documentation and source code