Initializing help system before first use

# XSLPadddfs

Purpose
This subroutine is deprecated and will be removed in a future release.
Add a set of distribution factors.
Topic areas
SLP, Data Input
Synopsis
`int XSLP_CC XSLPadddfs(XSLPprob prob, int ndf, const int *colind, const int *rowind, const double *value)`
Arguments

prob | The current SLP problem.
ndf | The number of distribution factors.
colind | Array of indices of columns whose distribution factor is to be changed.
rowind | 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 adds 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.

    int colind[3], rowind[3];
    double value[3];
    colind[0] = 282;  rowind[0] = 134; value[0] = 0.1;
    colind[1] = 282;  rowind[1] = 136; value[1] = 0.15;
    colind[2] = 285;  rowind[2] = 133; value[2] = 1.0;
    XSLPadddfs(prob,3,colind,rowind,value);

Further information
1. 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.
2. The add functions load additional items into the SLP problem. The corresponding load functions delete any existing items first.
Related topics
XSLPchgdf, XSLPgetdf, XSLPloaddfs
Parent Topic Library functions and the programming interface

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