Two phase solver integration