Learn R Programming

cplexAPI (version 1.4.0)

getConflictCPLEX: Return Linear Constraints and Variables Belonging to a Conflict

Description

Low level interface function to the IBM ILOG CPLEX function CPXgetconflict. Consult the IBM ILOG CPLEX documentation for more detailed information.

Usage

getConflictCPLEX(env, lp)

Arguments

env

An object of class "'>cplexPtr" as returned by openEnvCPLEX. This is basically a pointer to an IBM ILOG CPLEX environment.

lp

An object of class "'>cplexPtr" as returned by initProbCPLEX. This is basically a pointer to an IBM ILOG CPLEX problem object.

Value

If successful a list is returned:

confstat

status of the conflict

confnumrows

number of rows in the conflict

rowind

indices of the constraints that participate in the conflict

rowbdstat

conflict status of the rows

confnumcols

number of columns in the conflict

colind

indices of the variables that participate in the conflict

colbdstat

conflict status of the columns

otherwise an instance of class "'>cplexError".

Details

Interface to the C function getConflict which calls the CPLEX function CPXgetconflict.

References

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

See Also

cplexConstants