So your dog whines and you banish him to another room to be alone? That sounds pretty counter-productive. Ever tried umbilical? Put the leash on him and tie the other end around your waste, so you're always attached to him. Maybe he won't feel so lonely that way and won't whine as much.
Just a...