Initializing help system before first use

XPRSclearrowflags

Purpose
Clears extra information attached to a range of rows.
Topic area
Synopsis
int XPRS_CC XPRSclearrowflags(XPRSprob prob, const int flags[], int first, int last);
Arguments
prob 
The current problem
flags 
Int array of length last-first+1 including type of extra information to remove (see below)
first 
First row index to be checked
last 
Last row index to be checked
Example
The following makes sure that the second and third rows are not indicators and removes any quadratic matrix from the second row.
int flags[2];
int flags[2];
flags[0] = XPRS_ROWFLAG_QUADRATIC+XPRS_ROWFLAG_INDICATOR;
flags[1] = XPRS_ROWFLAG_INDICATOR;
XPRSclearrowflags(prob,1,2,flags);
Further information
The flags array consists of a bitvector for each row defining types of information to remove:
XPRS_ROWFLAG_QUADRATIC
Remove all quadratic coefficients.
XPRS_ROWFLAG_DELAYED
The row will not be a delayed row.
XPRS_ROWFLAG_MODELCUT
The row will not be a model cut.
XPRS_ROWFLAG_INDICATOR
Remove indicators associated to the row.
XPRS_ROWFLAG_NONLINEAR
Remove any nonlinear coefficients.
Related topics

© 2001-2025 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.