loadmiqp
Integer, binary, partial integer, semi-continuous and semi-continuous integer variables can be defined, together with sets of type 1 and 2. The reference row values for the set members are passed as an array rather than specifying a reference row.
loadmiqp(
prob,
probname,
rowtype,
rhs,
rng,
objcoef,
start,
collen,
rowind,
rowcoef,
lb,
ub,
objqcol1,
objqcol2,
objqcoef,
nentities,
nsets,
coltype,
entind,
limit,
settype,
setstart,
setind,
refval,
ncols = x_max_vec_length(objcoef, lb, ub),
nrows = x_max_vec_length(rowtype, rhs, rng),
nobjqcoefs = x_max_vec_length(objqcol1, objqcol2, objqcoef)
)
prob
|
The current problem.
|
probname
|
A string of up to MAXPROBNAMELENGTH characters containing a name for the problem.
|
rowtype
|
Character array of length
nrows containing the row type:
|
rhs
|
Double array of length
nrows containing the right hand side coefficients.
|
rng
|
Double array of length
nrows containing the range values for range rows.
|
objcoef
|
Double array of length
ncols containing the objective function coefficients.
|
start
|
Integer array containing the offsets in the
rowind and
rowcoef arrays of the start of the elements for each column.
|
collen
|
Integer array of length
ncols containing the number of nonzero elements in each column.
|
rowind
|
Integer arrays containing the row indices for the nonzero elements in each column.
|
rowcoef
|
Double array containing the nonzero element values length as for
rowind.
|
lb
|
Double array of length
ncols containing the lower bounds on the columns.
|
ub
|
Double array of length
ncols containing the upper bounds on the columns.
|
objqcol1
|
Integer array of size
nobjqcoefs containing the column index of the first variable in each quadratic term.
|
objqcol2
|
Integer array of size
nobjqcoefs containing the column index of the second variable in each quadratic term.
|
objqcoef
|
Double array of size
nobjqcoefs containing the quadratic coefficients.
|
nentities
|
Number of binary, integer, semi-continuous, semi-continuous integer and partial integer entities.
|
nsets
|
Number of SOS1 and SOS2 sets.
|
coltype
|
Character array of length
nentities containing the entity types:
|
entind
|
Integer array of length
nentities containing the column indices of the MIP entities.
|
limit
|
Double array of length
nentities containing the integer limits for the partial integer variables and lower bounds for semi-continuous and semi-continuous integer variables (any entries in the positions corresponding to binary and integer variables will be ignored).
|
settype
|
Character array of length
nsets containing:
|
setstart
|
Integer array containing the offsets in the
setind and
refval arrays indicating the start of the sets.
|
setind
|
Integer array of length
setstart[nsets]-1 containing the columns in each set.
|
refval
|
Double array of length
setstart[nsets]-1 containing the reference row entries for each member of the sets.
|
ncols
|
Number of structural columns in the matrix.
|
nrows
|
Number of rows in the matrix (not including the objective).
|
nobjqcoefs
|
Number of quadratic terms.
|
© 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.