Initializing help system before first use

problem.getMIPEntities

Purpose
Retrieves integr and entity information about a problem. It must be called before problem.mipOptimize if the presolve option is used.
Topic areas
Problem Information, MIP Entities
Synopsis
coltype, colind, limit, settype, start, setcols, refval = problem.getMIPEntities()
Return value
coltype 
Character array of length MIPENTS containing the entity types. The types will be one of:
binary variables;
integer variables;
partial integer variables;
semi-continuous variables;
semi-continuous integer variables.
colind 
Integer array of length MIPENTS containing the column indices of the MIP entities.
limit 
Double array of length MIPENTS containing the limits for the partial integer variables and lower bounds for the semi-continuous and semi-continuous integer variables (any entries in the positions corresponding to binary and integer variables will be meaningless).
settype 
Character array of length SETS containing the set types. The set types will be one of:
SOS1 type sets;
SOS2 type sets.
start 
Integer array containing the offsets into the setcols and refval arrays indicating the start of each set. This array must be of length SETS+1, the last element will contain the offset where set SETS+1 would start, and equals the length of the setcols and refval arrays, SETMEMBERS.
setcols 
Integer array of length SETMEMBERS containing the columns in each set.
refval 
Double array of length SETMEMBERS containing the reference row entries for each member of the sets. These define the order for SOS2 constraints and may be used in branching for both types.
Related topics

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