Computing optimal tax equilibria