Initializing help system before first use

# problem.chgqobj

Purpose
This subroutine is deprecated and will be removed in a future release. Use problem.chgQObj instead.
Change a single quadratic coefficient in the objective function corresponding to the variable pair (objqcol1,objqcol2) of the Hessian matrix.
Synopsis
`problem.chgqobj(objqcol1, objqcol2, objqcoef)`
Arguments

objqcol1 | Column index for the first variable in the quadratic term.
objqcol2 | Column index for the second variable in the quadratic term.
objqcoef | New value for the coefficient in the quadratic Hessian matrix. If an entry in objqcoef is 0, the corresponding entry will be deleted.

Example
The following code adds the terms [15x12 + 7x1x2]/2 to the objective function:

    p.chgqobj(x1, x1, 15)
    p.chgqobj(x1, x2, 3.5)

Further information
1. If objqcol1 is not equal to objqcol2, then both the matrix elements (objqcol1, objqcol2) and (objqcol2, objqcol1) are changed to leave the Hessian symmetric.
2. The quadratic matrix coefficients are implicitly divided by two. But since the coefficients for xixj ( i not equal to j) appear twice, only the coefficients for xi2 should be multiplied by two in the objqcoef argument to account for the implicit division. See the example above.
Related topics
problem.chgCoef, problem.chgMCoef, problem.chgMQObj, problem.chgObj, problem.getQObj, problem.chgQObj.
Parent Topic Deprecated functionality

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