The house I was renting did not have a washer or dryer hookup. I asked the landlord if he would add one. He obviously said no, but I could add one at my own expense. After adding it, I found that the drain was too slow. The drain would overflow and flood the kitchen.
Here is a creative solution for the problem. Most of the water goes straight down through the drain. When the water reaches a point that it would overflow, it is redirected into the washing machine. The washing machine continues to pump until all the water has been removed.