Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXgetqpcoef
accesses the quadratic
coefficient in the matrix Q of a CPLEX problem object for the variable pair
indexed by (rownum
, colnum
). The result is stored
in *coef_p
.
Example
status = CPXgetqpcoef (env, lp, 10, 20, &coef);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
rownum | The first variable number (row number in Q). |
colnum | The second variable number (column number in Q). |
coef_p | A pointer to a double where the coefficient should be stored. |