Optimizing Cost Allocation Agents for Enterprises