Initializing help system before first use

XSLPloaddfs

XSLPloaddfs


Purpose
Load a set of distribution factors
Synopsis
int XSLP_CC XSLPloaddfs(XSLPprob Prob, int nDF, const int *ColIndex, const int *RowIndex, const double *Value)
Arguments
Prob 
The current SLP problem.
nDF 
The number of distribution factors.
ColIndex 
Array of indices of columns whose distribution factor is to be changed.
RowIndex 
Array of indices of the rows where each distribution factor applies.
Value 
Array of double precision variables holding the new values of the distribution factors.
Example
The following example loads distribution factors as follows:
column 282 in row 134 = 0.1
column 282 in row 136 = 0.15
column 285 in row 133 = 1.0.
Any other first-order derivative placeholders are set to XSLP_DELTA_Z.
int ColIndex[3], RowIndex[3];
double Value[3];
ColIndex[0] = 282;  RowIndex[0] = 134; Value[0] = 0.1;
ColIndex[1] = 282;  RowIndex[1] = 136; Value[1] = 0.15;
ColIndex[2] = 285;  RowIndex[2] = 133; Value[2] = 1.0;
XSLPloaddfs(prob,3,ColIndex,RowIndex,Value);
Further information

The distribution factor of a column in a row is the matrix coefficient of the corresponding delta vector in the row. Distribution factors are used in conventional recursion models, and are essentially normalized first-order derivatives. Xpress-SLP can accept distribution factors instead of initial values, provided that the values of the variables involved can all be calculated after optimization using determining rows, or by a callback.

The XSLPadd... functions load additional items into the SLP problem. The corresponding XSLPload... functions delete any existing items first.


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.