It's entirely possible to wall off the sea and pump river water over it to keep cities dry. The Dutch have been doing it for centuries. All that is required is quite a bit of money and political will.
I don't see Miami ever being abandoned, even if they have to float it.