Description Usage Arguments Details Value Author(s) References See Also
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"
.
1 | chgColsBndsCPLEX(env, lp, j, lb, ub)
|
env |
An object of class |
lp |
An object of class |
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. |
Interface to the C function chgColsBnds
which calls the CPLEX
function CPXchgbds
.
Zero if successful, otherwise nonzero.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
The IBM ILOG CPLEX home page at https://www.ibm.com/support/knowledgecenter/SSSA5P.
chgBndsCPLEX
, tightenBndsCPLEX
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.