Initializing help system before first use

branchobj.addRows

Purpose
Adds new constraints to a branch of a user branching object.
Topic area
Branching Object
Synopsis
branchobj.addRows(branch, rowtype, rhs, start, colind, rowcoef)
Arguments
branch: int 
The number of the branch to add the new constraints for. This branch must already have been created using branchobj.addBranches. Branches are indexed starting from zero.
rowtype: list[str] 
Character array indicating the type of constraints to add:
Less than type.
Greater than type.
Equality type.
rhs: list[float] 
Double array containing the right hand side values.
start: list[int] 
Integer array containing the offsets of the colind and rowcoef arrays of the start of the non zero coefficients in the new constraints.
colind: list[var] 
Integer array containing the column indices for the non zero coefficients.
rowcoef: list[float] 
Double array containing the non zero coefficient values.
Further information
Argument colind may contain either xpress.var objects or integer indices.
Related topics

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.