Initializing help system before first use

problem.addqmatrix

problem.addqmatrix


Purpose
Adds a new quadratic matrix into a row defined by triplets.
Synopsis
problem.addqmatrix(irow, mqc1, mqc2, dqe)
Arguments
irow 
Row (i.e. xpress.constraint object, index, or name) where the quadratic matrix is to be added.
mqc1 
Array with first variables (i.e. xpress.varobjects, indices, or names) in the triplets.
mqc2 
Array with second variables (i.e. xpress.varobjects, indices, or names) index in the triplets.
dqe 
Array of coefficients in the triplets.
Further information
1. The triplets should define the upper triangular part of the quadratic expression. This means that to add x2 + 4 xy the dqe array shall contain the coefficients 1 and 2.
2. The matrix defined by mqc1, mqc2 and dqe should be positive semi-definite for ≤ and negative semi-definite for ≥ rows.
3. The row must not be an equality or a ranged row.
Related topics

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