chgColsBndsCPLEX: Change Lower and Upper Bounds on a Set of Variables of a...

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

View source: R/cplexAPI.R

Description

Set lower and upper bounds on a set of variables in one step. If lb[i] == ub[i] the type of the bound is set to "B", otherwise lb[i] is set to "L" and ub[i] is set to "U".

Usage

1
  chgColsBndsCPLEX(env, lp, j, lb, ub)

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.

j

An integer that specifies the numeric index of the column in which the coefficient is located.

lb

A vector containing the lower bounds.

ub

A vector containing the upper bounds.

Details

Interface to the C function chgColsBnds which calls the CPLEX function CPXchgbds.

Value

Zero if successful, otherwise nonzero.

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

chgBndsCPLEX, tightenBndsCPLEX


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