Figured out the Gini solver got stuck when players start out with a low fortune, and it chooses 0% tax repeatedly which does not cause inflation. By setting a minimum tax, even if it's only 0.1%, this problem goes away.
Now the solver works extremely well (near perfect) for a large range of Gini targets:
What remains is testing for other settings, such as number of players and transaction. Could also measure convergence tax per Gini target, which might be interesting.
Closes https://github.com/PistonDevelopers/mix_economy/issues/17
min_tax
argument toEconomy::solve
Figured out the Gini solver got stuck when players start out with a low fortune, and it chooses 0% tax repeatedly which does not cause inflation. By setting a minimum tax, even if it's only 0.1%, this problem goes away.
Now the solver works extremely well (near perfect) for a large range of Gini targets:
What remains is testing for other settings, such as number of players and transaction. Could also measure convergence tax per Gini target, which might be interesting.