Learn R Programming

cplexAPI (version 1.4.0)

feasOptCPLEX: Compute a Minimum-Cost Relaxation

Description

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

Usage

feasOptCPLEX(env, lp, rhs = FALSE, rng = FALSE, lb = FALSE, ub = FALSE)

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.

rhs

If set to FALSE no right hand side value is allowed to be relaxed.

rng

If set to FALSE no range values are allowed to be relaxed.

lb

If set to FALSE no lower bound of any variable is allowed to be relaxed.

ub

If set to FALSE no lower bound of any variable is allowed to be relaxed.

Value

Zero if successful, otherwise nonzero.

Details

Interface to the C function feasOpt which calls the CPLEX function CPXfeasopt.

References

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

See Also

solutionCPLEX, getRowInfeasCPLEX, getColInfeasCPLEX, solnInfoCPLEX, getStatCPLEX