Obama willing to work with Congress but compromise will be necessary