Flame polishing is the best way but it does require some level of skill as the difference between a polish and a melt is a very short time.
Having welded vinyl floors for years it is something that I have mastered, and deep scratches can be removed with that skill. But even with a hot hairdryer many surface scratches can be removed quite easily and without the dangers of welders.