Configure solver in the right order