Initializing help system before first use

problem.getVariable

problem.getVariable


Purpose
Returns one or more variables of a problem corresponding to one or more indices passed as arguments. These variables are returned as Python objects and can be used to access and manipulate the problem.
Synopsis
x = problem.getVariable (index, first, last)
Arguments
first 
(optional) The first index of the variables to be returned. It must be between 0 and COLS - 1.
last 
(optional) The last index of the variables to be returned. It must be between 0 and COLS - 1.
index 
(optional) Either an integer or a list of integers (not necessarily sorted) with the index/indices of all variables to be returned, all between 0 and COLS - 1
Further information
All arguments are optional. If neither of them is provided, the return value is a list with all variables of the problem. Otherwise, either first and last or just index can be passed.
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.