Added pre-solving phase.