better error message for solvers that don't support quadratic terms, ref #236