President Donald Trump has expressed optimism that the two sides are getting closer to an agreement.