Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXqpindefcertificate
computes a vector
x
that satisfies the inequality x'Qx < 0 . Such a vector
demonstrates that the Q matrix violates the assumption of positive
semi-definiteness, and can be an aid in debugging a user's program if
indefiniteness is an unexpected outcome.
Example
status = CPXqpindefcertificate (env, lp, x);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
x | An array to receive the values of the vector that is to be returned. The length of this array must be the same as the number of quadratic variables in the problem, which can be obtained by calling |