Was in this situation last year. 2 weeks before I had to get my seatpost out to get my bike in a box to fly.
In order of things I tried (following Sheldon’s recommendations):
1) Coke / Ammonia etc
2) Riding bike all week with seatclamp undone
3) Gentle twist in a vice
Then things got destructive:
4) Steelsons crushed the tube
5) Tried the longways hack saw but it just wasn’t working – bits still welded in.
6) Resorted to Caustic Soda method…
This work but my recommendations are:
Strip the frame completely. Use blu tac and plastic bags to bung up the holes. What I did was put the frame upside down, bung up the (now flush) seat tube / post and inject the caustic soda using a plastic syringe into the bottle bosses before taping up. It will fizz and go and you may end up with a Mt Vesuvius coming out of the BB shell. If it gets too hot rinse the outside of the frame tubes. Once it stops fizzing empty, rinse and repeat. I got my seatpost out in 12 hours with a final overnight soak.
DON’T get the stuff on your paint – rinse off immediately if you do. It’s paint stripper.
DO NOT get the solution in your eyes. It WILL blind you. Wear goggles.
Wear PVC gloves.
If your hands / skin feel soapy you’ve got stuff on your skin. Rinse immediately with vinegar / lemon juice other weak acid.
BE CAREFUL. Have FUN!