Initializing help system before first use

XSLPchgrowwt

XSLPchgrowwt


Purpose
Set or change the initial penalty error weight for a row
Synopsis
int XSLP_CC XSLPchgrowwt(XSLPprob Prob, int RowIndex, const double *Value)
Arguments
Prob 
The current SLP problem.
RowIndex 
The index of the row whose weight is to be set or changed.
Value 
Address of a double precision variable holding the new value of the weight. May be NULL if not required.
Example
The following example sets the initial weight of row number 2 to a fixed value of 3.6 and the initial weight of row 4 to a value twice the calculated default value.
double Value;
Value = -3.6;
XSLPchgrowwt(Prob,2,&Value);
Value = 2.0;
XSLPchgrowwt(Prob,4,&Value);

Further information

A positive value is interpreted as a multiplier of the default row weight calculated by Xpress-SLP.

A negative value is interpreted as a fixed value: the absolute value is used directly as the row weight.

The initial row weight is used only when the augmented structure is created.


Related topics

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