Initializing help system before first use

getmipentities

Purpose
Retrieves integr and entity information about a problem.
It must be called before mipoptimize if the presolve option is used.
Synopsis
getmipentities(prob)
Argument
prob 
The current problem.
Return value
A list with the following elements:
nentities
The number of binary, integer, semi-continuous, semi-continuous integer and partial integer entities.
nsets
The number of SOS1 and SOS2 sets.
coltype
The entity types. The types will be one of:
B
binary variables;
I
integer variables;
P
partial integer variables;
S
semi-continuous variables;
R
semi-continuous integer variables.
colind
The column indices of the MIP entities.
limit
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
The set types. The set types will be one of:
1
SOS1 type sets;
2
SOS2 type sets.
start
The offsets into the setcols and refval arrays indicating the start of the sets.
setcols
The columns in each set.
refval
The reference row entries for each member of the sets.
Further information
Please refer to the C documentation for more details.

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