Learn R Programming

cplexAPI (version 1.4.0)

copyOrderCPLEX: Copy Priority Order to CPLEX Problem Object

Description

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

Usage

copyOrderCPLEX(env, lp, cnt, indices, priority = NULL, direction = NULL)

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.

cnt

Number of entries.

indices

Indices of the columns corresponding to the integer variables that are assigned priorities.

priority

Priorities assigned to the integer variables.

direction

Branching direction assigned to the integer variables.

Value

Zero if successful, otherwise nonzero.

Details

Interface to the C function copyOrder which calls the CPLEX function CPXcopyorder.

References

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