XPRS_bo_addbounds
XPRS_bo_addbounds |
Purpose
Adds new bounds to a branch of a user branching object.
Synopsis
int XPRS_CC XPRS_bo_addbounds(XPRSbranchobject obranch, int ibranch, int nbounds, const char cbndtype[], const int mbndcol[], const double dbndval[]);
Arguments
obranch
|
The user branching object to modify.
|
||||
ibranch
|
The number of the branch to add the new bounds for. This branch must already have been created using
XPRS_bo_addbranches. Branches are indexed starting from zero.
|
||||
nbounds
|
Number of new bounds to add.
|
||||
cbndtype
|
Character array of length
nbounds indicating the type of bounds to add:
|
||||
mbndcol
|
Integer array of length
nbounds containing the column indices for the new bounds.
|
||||
dbndval
|
Double array of length
nbounds giving the bound values.
|
Example
Related topics