I'm planning to ride up on the Friday (probably leave about lunchtime) and back on the Sunday, on a leisurely, beer-inclusive timetable rather than an ECE one.
Last time I got the train up to Dundee and ride across from there, then back to Edinburgh, both of which worked pretty well. It's probably about 75 miles from Edinburgh, keeping it pleasant but not stretching for 150 km.