Initializing help system before first use

problem.slpChgColVals

Purpose
Change the current solution values for a set of columns, given in the input space.
Topic areas
Data Input, Nonlinear
Synopsis
problem.slpChgColVals(values, colind=None)
Arguments
values: Iterable[float] 
Array holding the new solution values, corresponding to the columns identified by colind (or, if colind is None, to each column of the input space).
colind: Iterable[var] 
Array holding the indices, in the input space, of the columns to be changed. May be None, in which case values must provide a value for every one of the INPUTCOLS columns.
Further information
1. Unlike problem.slpChgPresolveColVals, the values passed to this function are in the input space, i.e. before presolve and the SLP augmentation, and will be presolved before updating the internal values.
2. This function is only effective after starting a solve or when calling functions like problem.slpCascadeSol. For setting initial values to be set up before a solve, please use problem.nlpSetInitVal.
3. Argument colind may contain either xpress.var objects or integer indices.
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.