post SQP, quad constraint check