Formulating least cost rations using locally available resources. Based on the chemical composition of available feed resources (a pre-requisite to this is the preparation of inventories of feed resources that are used in a region) and in accordance with the nutrient requirement of the animal, the software computes the least cost ration within the given con- straints. These constraints could include non-availability or limited availability of green fodder and/or compound cattle feed, affordability of milk producers to purchase specific feed ingre- dients from the market, roughage to concentrate ratio, stage of lactation and type of feed offered etc. The least cost ration,.