problem.getqobj
| problem.getqobj | 
  Purpose
 
  Returns a single quadratic objective function coefficient corresponding to the variable pair
  (icol, jcol) of the Hessian matrix.
 
  Synopsis
 
 objqcoef = problem.getqobj (icol, jcol) 
 
  Arguments
 
| 
     icol 
     | 
     Column index for the first variable in the quadratic term.
     | 
| 
     jcol 
     | 
     Column index for the second variable in the quadratic term.
     | 
  Example
 
 The following returns the coefficient of the x
 0
 2 term in the objective function, placing it in the variable
  value :
 
print ("diagonal coeff of the Hessian:",
  [p.getqobj (i,i) for i in range (p.attributes.cols)])
  Further information
 
  For example, if the objective function has the term [3x
 1x
 2 + 3x
 2x
 1]/2 the value retrieved by
 getqobj is
 3.0 and if the objective function has the term [6x
 1
 2]/2 the value retrieved by
 getqobj is
 6.0.
 
  Related topics
 
 
