Work on SQPMethod