Cork is probably the cheapest, but AFAIK it still comes in 2 pieces, so it arguably takes longer to install. IMHO, foam with beveled edges looks better if you don't intend to ballast. It arguably lasts longer too, though once you do ballast, that probably doesn't matter in the long run. It probably doesn't matter much either how you attached it, but I believe most use glue. One of the biggest problems that's been mentioned with foam is a tendency to attach track screws too tightly causing unevenness. If you're concerned about noise, you also have to consider how well both hold track screws so you don't have to go through to the plywood underlayment, if that's what will be under the roadbed. That's one reason many add a layer of Homasote, so they don't have to go through to the plywood and transfer track noise.