Wandering is currently my main problem too with my husband. He always gets lost and invariably ends up at the house he lived in over fifty years ago. Of course by the next day he has no memory of this.
I try to wear him out by keeping him busy, going out during the day and walking in the evening. Even so he is constantly wanting to be on the move. I am afraid the only thing that slows him down, and not always, is medication. He takes Trazodone which acts to control agitation. Some days this is more successful than others but without it he would probably not be able to stay at home for as long.
Good luck