> when everyone in either graph pays the amounts they owe everyone else, they end up with the same amounts in the end.
It seems my algorithm also accomplishes that goal. I'm not sure that my algorithm is optimal, but I do think it's a good approximation and is somewhat simpler than the approximation in the article.