Former education minister designated to become prime minister after president's consultations with MPs.