Initializing help system before first use

# XSLPchgdf

Purpose
This subroutine is deprecated and will be removed in a future release.
Set or change a distribution factor.
Topic areas
SLP, Data Input
Synopsis
`int XSLP_CC XSLPchgdf(XSLPprob prob, int col, int row, const double *value)`
Arguments

prob | The current SLP problem.
col | The index of the column whose distribution factor is to be set or changed.
row | The index of the row where the distribution applies.
value | Address of a double precision variable holding the new value of the distribution factor. May be NULL if not required.

Example
The following example retrieves the value of the distribution factor for column 282 in row 134 and changes it to be twice as large.

    double value;
    XSLPgetdf(prob,282,134,&value);
    value = value * 2;
    XSLPchgdf(prob,282,134,&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 NonLinear 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.
Related topics
XSLPadddfs, 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.