We solved this affordably. We fenced the yard-- but with thin metal stick-in posts and a few rolls of affordable wire mesh farm-type fencing. Okay, it really isn't gorgeous, but it does keep out roaming dogs. While technically a very determined dog could dig under it, that would take time...