Compute the value of a quadratic matrix expression using the current solution.
Return value:
Value of expression as an ndarary.
Example usage:
qexpr = x @ A @ x model.addConstr(qexpr == 0) model.optimize() val = qexpr.getValue()