Data of a partnership's distributive items of income, and partners' book and tax capital account values (these terms as defined in the Treasury Regulations) are received and an optimization including all of these data is performed to implement the partner tax allocation that are compliant with the relevant sections of the Internal Revenue Code [1] and the relevant Treasury Regulations [2, 3, 4].