Initializing help system before first use

problem.chgqrowcoeff

problem.chgqrowcoeff


Purpose
Changes a single quadratic coefficient in a row.
Synopsis
problem.chgqrowcoeff(irow, icol, jcol, dval)
Arguments
irow 
Row (i.e. xpress.constraint object, index, or name) where the quadratic matrix is to be changed.
icol 
First index of the coefficient to be changed.
jcol 
Second index of the coefficient to be changed.
dval 
The new coefficient.
Further information
1. This function may be used to add new nonzero coefficients, or even to define the whole quadratic expression with it. Doing that, however, is significantly less efficient than adding the whole expression with problem.addqmatrix.
2. The row must not be an equality or a ranged row.
Related topics