Initializing help system before first use

XPRSslpsetrowenforced, XSLPsetrowenforced

Purpose
Set or clear whether a row is enforced, that is, whether it must not have a penalty error vector
Topic areas
Synopsis
int XPRSslpsetrowenforced(XPRSprob prob, int row, int ifEnforce);

int XSLPsetrowenforced(XSLPprob prob, int row, int ifEnforce);
Arguments
prob 
The current problem.
row 
The index of the matrix row to be changed.
ifEnforce 
Nonzero to enforce the row (no penalty error vector is allowed and any violation must be resolved directly, as for SLPDATA type EC); zero to allow the row a penalty error vector as usual.
Example
The following example marks row 9 as an enforced constraint.
XPRSslpsetrowenforced(prob, 9, 1);
Further information
The current enforced status of a row can be read back via XPRSslpgetrowstatus, by checking whether bit 11 ( XPRS_SLPNOERRORVECTORS) is set.
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.