Dublin is cheaper than precious few places in Europe and certainly not Edinburgh.
Portmarnock and European Club were more expensive than TOC and near two green fees at North Berwick not long ago and I dont imagine the equation has changed greatly. Food, beer, digs... all cheaper in Edinburgh.
London, Dornoch by train in an easy few hours - try doing that from Dublin!