loadqcqp
Such a problem may have quadratic terms in its objective function as well as in its constraints.
loadqcqp(
prob,
probname,
rowtype,
rhs,
rng,
objcoef,
start,
collen,
rowind,
rowcoef,
lb,
ub,
objqcol1,
objqcol2,
objqcoef,
qrowind,
nrowqcoef,
rowqcol1,
rowqcol2,
rowqcoef,
ncols = x_max_vec_length(objcoef, lb, ub),
nrows = x_max_vec_length(rowtype, rhs, rng),
nobjqcoefs = x_max_vec_length(objqcol1, objqcol2, objqcoef),
nqrows = x_max_vec_length(qrowind, nrowqcoef)
)
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 types:
|
rhs
|
Double array of length
nrows containing the right hand side coefficients of the rows.
|
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 array 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.
|
qrowind
|
Integer array of size
nqrows, containing the indices of rows with quadratic matrices in them.
|
nrowqcoef
|
Integer array of size
nqrows, containing the number of nonzeros in each quadratic constraint matrix.
|
rowqcol1
|
Integer array of size
nqcelem, where
nqcelem equals the sum of the elements in
nrowqcoef (i.e. the total number of quadratic matrix elements in all the constraints).
|
rowqcol2
|
Integer array of size
nqcelem, containing the second index for the quadratic constraint matrices.
|
rowqcoef
|
Integer array of size
nqcelem, containing the coefficients for the quadratic constraint matrices.
|
ncols
|
Number of structural columns in the matrix.
|
nrows
|
Number of rows in the matrix (not including the objective row).
|
nobjqcoefs
|
Number of quadratic terms.
|
nqrows
|
Number of rows containing quadratic matrices.
|
© 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.