We'd live together on weekends, but not the weekdays. So I'd work on problems all week, and then go visit her, bringing no computer or anything like that.
I always came up with a bunch of solutions to hard problems I'd been working on during those weekends away from the keyboard. They'd just appear in my head one by one, throughout the weekend. All of my most inspired ideas came out of that period. It's as though working activley on a problem spawns a bunch of threads that, without serious time away from the problem, continuously get interrupted and never resolve.