Edited SQP