Initializing help system before first use

problem.getglobal

problem.getglobal


Purpose
Retrieves global information about a problem. It must be called before problem.mipoptimize if the presolve option is used.
Synopsis
problem.getglobal(qgtype, mgcols, dlim, qstype, msstart, mscols, dref)
Arguments
qgtype 
Character array where the entity types will be returned. The types will be one of:
binary variables;
integer variables;
partial integer variables;
semi-continuous variables;
semi-continuous integer variables.
mgcols 
Array where the columns of the global entities will be returned.
dlim 
Array where the limits for the partial integer variables and lower bounds for the semi-continuous and semi-continuous integer variables will be returned (any entries in the positions corresponding to binary and integer variables will be meaningless).
qstype 
Character array where the set types will be returned. The set types will be one of:
SOS1 type sets;
SOS2 type sets.
msstart 
Array where the offsets into the mscols and dref arrays indicating the start of the sets will be returned. This array must be of length SETMEMBERS+1: the final element contains the length of the mscols and dref arrays.
mscols 
Array of length problem.attributes.setmembers where the columns in each set will be returned.
dref 
Array of length problem.attributes.setmembers where the reference row entries for each member of the sets will be returned.
Example
The following obtains the SOS information:
qstype = []
mstart = []
mscols = []
dref   = []
p.getglobal(None, None, None, qstype, mstart, mscols, dref)
Further information
All arguments may be None if not required.
Related topics

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