Initializing help system before first use

problem.getQObj

Purpose
Returns a single quadratic objective function coefficient corresponding to the variable pair (objqcol1, objqcol2) of the Hessian matrix.
Topic areas
Problem Information, Quadratic
Synopsis
objqcoef = problem.getQObj(objqcol1, objqcol2)
Arguments
objqcol1 
Column index for the first variable in the quadratic term.
objqcol2 
Column index for the second variable in the quadratic term.
Return value
objqcoef 
The objective function coefficient.
Further information
1. objqcoef is the coefficient in the quadratic Hessian matrix. For example, if the objective function has the term [3x 1x 2 + 3x 2x 1]/2 the value retrieved by problem.getQObj is 3.0 and if the objective function has the term [6x 1 2]/2 the value retrieved by problem.getQObj is 6.0.
2. Arguments objqcol1, objqcol2 may contain xpress.var objects instead of indices.
Related topics

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