well at first you need good software with reliable database where you have nutrient but ALSO prices than you have least cost formulation which takes into consideration not only composition but prices of the raws
The best formula must provide the requirements of birds for maintenance and high production in low cost , this can be achieved by choose local source , components not used in human nutrition , suitable for the birds to be digest well .