Obama optimistic about relationship