add getquadconstrsolution