Open access

Determination of the Herd Size

Written By

Rocky R.J. Akarro

Submitted: February 28th, 2011 Published: September 26th, 2012

DOI: 10.5772/28430

Chapter metrics overview

1,763 Chapter Downloads

View Full Metrics

1. Introduction

Zero grazing is hereby defined as

1.1. The Uyole Agricultural Centre (UAC)

The Uyole Agricultural Centre (UAC) is of particular importance in this respect. The predominant dairy breed at Uyole is the Friesian / Zebu cross. Natural pastures around Uyole have been observed to produce around 2500 kg. dry matter (DM/ha/year). Considering a 400 kg cow requiring 8.5 kg. DM/day, then this cow needs 3100 kg DM/year. One hectare cannot therefore, maintain such a cow ( Kifaro & Akarro, 1987). It was therefore decided that in agricultural high potential areas of Rungwe district (this is the area surrounding Uyole) more productive pasture species were required. Sensing this, the Uyole Agricultural Centre established a pasture and forage research programme. It commenced its work in 1970 with the aim to improve the phytomass and quality of pastures. Initial work involved fertilization of natural pastures, introductions and testing of grass/legume mixtures, special purpose pastures and short term crops like oats, lupine, maize, and fodder sugar beets.


2. The Linear Programming (L.P.) model

Simulation of the cow activities and feeding regimes as shown in Fig. 1 would probably be a more appropriate method for establishing the stocking rate.

However, given the intricacies of implementing this simulation especially with reference to management policies of a particular farm, a linear programming (L.P.) method is suggested as a plausible alternative. Here L.P. is defined as a mathematical structure, involving particular mathematical assumptions that can be solved using a standard solution technique, called the simplex method. It is the purpose of this section to formulate a mathematical model that would enlighten us on the type of pastures to be grown, when and what supplementation level is required and the number of dairy animals to keep for the farm to be profitable. It was assumed that a known section of the farm was to be developed entirely to dairy enterprise and the problem was to find how to organize this farm so that its annual net profit would be maximized. An L.P. is suggested. The herd size was kept constant throughout the year. In formulating the L.P. there arose a need of identifying major constraints to dairy cow needs as discussed below.

2.1. Nutritional (energy, protein, minerals and vitamins) requirements of a cow

2.1.1. Energy requirements

Organic nutrients obtained from different sources of feed available to an animal are used for a variety of purposes, including maintenance of body functions, the construction of body tissues, the synthesis of milk, and the conversion to mechanical energy used for walking and other work. All these diverse functions require the transfer of considerable quantities of energy, so that in most situations when the energy requirement of the animals’ different needs are met, it may be assumed that animal’s non-energy requirements (protein-minerals and vitamins) are also met. Hence, the nutritive value of different feeds can be expressed by their energy content or by their ability to supply energy with high coefficient of conversion into usable energy for the different body functions. The gross energy contents of different forages are very similar at about 18 MJ/kg (Hunt, 1966). A portion of this energy is lost as faeces while the remaining digestible energy (DE) proportional to the digestibility (d) of the consumed feed is converted into metabolized energy (ME) after additional losses of about 19% of DE as urine and methane (Armstrong, 1964; MAFF, 1975).

Figure 1.

Components of a Dairy Cow Operational System : Source: Modified from Konandreas and Anderson (1982)

2.1.2. Energy requirements for maintenance

Maintenance can be defined as the state of the animal in which there is neither a net gain nor loss of nutrients (Kay, 1976). Maintenance requirements are estimates of the amount of nutrients required to achieve such an equilibrium. One component of the energy requirements for maintenance is referred to as basal metabolism and is proportional to the body size of the animal. The second component of the energy requirements for maintenance is related to the level of the animals activity and can be expressed approximately by live weight and the daily distance walked. Thus following Blaxter (1969) and Webster (1978), total net energy requirements for maintenance can be obtained from the relationship:

Em=0.376 W.73+ 0.0021WDE1

WhereEm= net energy requirements for maintenance (MJ/day).

W= live weight (kg)

D= distance walked (km/day).

The efficiency with which metabolizable energy is used for maintenance is a function of metabolizability of the consumed forage (see for example Blaxter, 1974; Van Es, 1976; Ministry of Agriculture Fisheries and Food (MAFF); 1975; Pigden et. al; 1979).

According to MAFF when distance walked is negligible, equation (2.1) reduces to

Em= 8.+ 0.091 W. (MAFF, 1975)E2

Where Em= net energy requirements for maintenance.

= metabolizable energy for maintenance (MJ/day).

W= body weight

2.1.3. Energy requirements for lactation

Net energy requirements for lactation are approximately proportional to the quantity of milk produced ( ILCA, 1978), and this is given by


WhereEL= net energy requirements for lactation (MJ/day).

eL= energy content of milk.

M= milk yield (kg/day).

The energy content of milk is approximately given by the relationship (MAFF, 1975):

eL= 0.03886 BF + 0.0205 SNF  0.0236E4

where BF= Butterfat content (g/kg).

SNF= solids not fat content (g/kg).

2.1.4. Protein requirements

Protein is an essential nutrient for animals. This nutrient however cannot be synthesized in sufficient quantities by animals to meet their requirements. Fortunately it is synthesized by plants and stored in plant cells. Through this means, a source of protein is provided for use by ruminants. An animal’s requirement for protein is based on the protein stored in its body; its products such as milk, eggs, or wool; the products of conception, and the metabolic losses in faeces, endogenous losses in urine and by other losses (hair, skin, hoofs, etc.). To maintain an animal in protein equilibrium, these losses must be off set. The sum of these becomes the protein requirement for that animal. Protein requirements can be determined through nitrogen balance studies. In these studies, healthy adult animals are fed an adequate amount of energy and other nutrients in diets that contain different levels of protein. The minimum protein intake that will support nitrogen equilibrium is the maintenance requirement. The protein requirement for lactation is easily calculated by determining the amount of protein present in the milk and multiplying this by 1.25 (Kearl, 1982). Dairy animals seem to adapt very well to a wide range of protein intakes without any ill effects. The protein contained in milk, however, represents a direct loss of protein by the body and obviously this must be replaced.

2.1.5. Protein requirements for maintenance

The Digestible Protein (DP) maintenance requirements have been quite well defined. Orskov (1976) stated that the rate of protein deposition by young ruminants is appropriately expressed as the nitrogen retained per unit of energy digested, and that the retention of protein per unit of energy digested increases with the level of feeding and decreases as the animal matures. Balch (1976) suggested that at any given intake of protein, the response of the animal may vary greatly depending on the intake of energy. Poppe & Gabel (1977), after reviewing the literature concerning protein requirements for cattle, cited a DP requirement of 3g per kilogram of live weight W raised to power.75 for maintenance based on a digestible organic matter (DOM) fermentation rate of 60%.

Nehring (1970) suggested a value of 2.57g of DP per kilogram of live weight raised to the power.75 as the maintenance requirement of cattle weighing 400 to 800 kg. Sen et. al; (1978) whose data are used as the feeding standard in India, recommended 2.84g DP per kilogram of W.75 for zebu cross bred cattle and buffaloes.

Additional information is needed to substantiate these results, but on the basis of a wide range of values found in the literature and those suggested as standards to be used in several countries an average value of

2.86g DP per kilogram of W0.75E5

Where W is the live weight in kg has been used in estimating the DP maintenance requirement. This is the value used in Kearl (1982) which is also used in the formulation of feed values in food stuffs.

2.1.6. Protein requirement for lactation

Many studies have been done to determine the amount of Digestible Protein (DP) required to produce one kilogram (kg) of milk. Generally, the recommended amounts of DP per kilogram of milk have been correlated with the fat content of the milk. Nehring (1970) proposed a DP requirement of 50 to 80 g of DP for milk containing butterfat content from 3 to 6 percent. Ranjhan et. al; (1977) suggested 4.17 g of DP per kilogram of milk. Patle & Mudgal (1976) agreed with Ranjham; (1977).. The National Research Council (1971) recommends a DP requirement of 42 to 60 g per kilogram of milk containing 2.5 to 6% fat. The Ministry of Agriculture Fisheries and Food (MAFF, 1979) noted a DP requirement of 48 to 63 g of DP per kilogram of milk containing 3.6 to 4.9% butterfat.

The MAFF (1979) values are the ones used in our estimates because they are regarded as standards in the formulation of feed values.

2.1.7. Estimation of nutritive values

On the average, a Friesian cow or a Friesian cross weighs 450 kg and produces milk whose composition is 3.6 percent butterfat (BF) and 8.6 percent solids not fat (SNF) at UAC (Myoya, 1980). Using results (2.2), (2.3), (2.4), (2.5) and (2.6), energy and protein requirements per dairy cow can be calculated on monthly basis for the available milk yields as shown in Table 2.1. The monthly yield figures were obtained from Uyole Agricultural Centre (UAC).

MonthMonthly Yield in KgNet Energy Lactation MJ/MonthMetabolizable Energy Required
Protein Required (DCP Kg per Month)

Table 1.

Monthly Nutrition Requirements per Dairy Cow

Using equation (2.2), the Metabolizable Energy (ME) requirements for maintenance is 1478 Metabolizable Energy in Megajoules (MEMJ) per month. Using equation (2.4) the energy content eL of milk is 4.94 megajoules (MJ) per kilogram. Using equation (2.3). net energy for lactation EL is obtained. This is column 3 of Table 2.1. Using result (2.5), the Digestible Crude Protein (DCP) for maintenance is 279g per day. The value given by MAFF (1979) is 275g per day for a dairy cow of the same weight. DCP for maintenance required in a month is therefore 8.37 kg.

Using expression (2.6) the DCP allowances for milk production per kg for a Friesian cow with Butter fat percentage (BF%) of 3.6% is 48g (MAFF, 1979).

Column 5 in Table 2.1 is obtained by multiplying 48 by milk yield in kilograms plus DCP for maintenance which is 8.37.

2.1.8. Energy and protein supply

The main energy and protein source of dairy cows is obtained from the bulky food eaten by the cow. The bulky foods can either be grown on a farm or be purchased. At Uyole, land is scarce and the nutritive value of natural pastures and DM yield is low. Subsequent research involved evaluation of improved pasture and legume species. These included Rhodes grass (Chloris gayana), Napier grass (Pennisetum purpureum) Desmodium spp.; Nandi setaria, Lucerne, oats, Lupins etc. fertilizer application, cutting frequencies and grass/legume mixture.

Invariably, fertilizer application improved the quality and quantity of the production of feeds/ha but also the cost of production was increased due to input costs.

2.1.9. Fertilizer efficiency

An increase in nitrogen application leads to increase in Dry matter yield per hectare as can be seen from Table 2.2. However it is desired not to apply infinite amounts of fertilizer but to apply the amounts that will give the maximum yield (kg DM) per unit of fertilizer applied. Such amount will be termed ‘efficient’ fertilizer applications. Such quantities will be used in our model for the input costs in pasture/crop production. Efficient fertilizer applications were worked out as yield increase per amount of fertilizer applied. Data for yields and fertilizer applications were obtained from UAC. These are presented in Table 2.2

Nitrogen kg/ha/yearRhodes grass yield kg DM/haFertilizer efficiency kg Dm/kg NNandi setaria yield kg DM/haEfficiency kg DM /kg N

Table 2.

Dry Matter Yield (kg/ha) of Rhodes Grass and Nandi setaria under Six levels of Nitrogen (Mean of Three Years): Source: Myoya (1980).

The higher yield in Rhodes grass without nitrogen and with rates up to 120kg N/ha suggest that Rhodes grass requires less nitrogen than Nandi setaria. At higher nitrogen rates, the difference disappears.

2.2. Forage supply at UAC

Due to climatic variations at Uyole, certain types of crops are available only in particular months or periods. During the wet season one expects surplus fodder which is not the case in the dry season. Table 2.3 shows the forage/feed supply sequence of some of the animal food stuffs grown at Uyole during the year.

X1 - Natural pastureVVVXXXX
X2 - Rhodes grass pastureVVVVXXV
X3 – Rhodes/Desmodium pastureVVVVXXV
X4 – Napier grass green feedXVVVVVV
X5 – Lupins green feedXVVVVXV
X6 – Napier /Desmodium green feedXVVVVVX
X7 – Oats green feedXVVVXXV
X8 – Rhodes grass hayXXXXXVX
X9 – Maize silageXVVVVVV
X10 – Rhodes grass silageXXXXVVV
X11 – Rhodes/Desmodium silageXXXXVVV
X12 – Napier grass silageXXXXVVX
X13- Oats silageXXXXVXX
X14- Lupins silageXXXXVVV
X15 – Napier/Desmodium silageXXXXVVV

Table 3.

Availability of Crops

Hay and silage could also be grown and these can be fed at any time during the year although they are usually fed during the dry season.

Thus, the year could be divided into seven periods, in each of which a different combination of crops or grazing output was available as shown in Table 2.3.

2.3. Estimation of Metabolizable Energy (ME) and Digestible Crude Protein (DCP) in feed stuffs

At UAC only a few feed stuffs have had their ME and DCP estimates done. In this case the figures available from the literature are assumed to be similar for the same feed stuffs where ME and DCP estimates are lacking. These are used because even in the formulation of quantity of food required, the estimates found in the literature, especially MAFF (1979), are used (Kurwijila, 1991). Table 2.4 gives Metabolizable Energy in Megajoules (MEMJ), Crude Protein Percentages and Crude Protein Digestibility Coefficient percentages estimates based on one kilogram of Dry matter (Mbwile, et. al; 1981; Gohl, 1981; Bredon, 1963; MAFF, 1979).

Natural Pastures9.969.59.2
Rhodes Grass7.562.08.7
Green Feed (forage)
Napier Grass ***15.37710.4
Rhodes Grass6.044.77.7
Napier Grass16.0648.8
Rhodes Grass**8.5468.4
Rhodes Desmodium*10.1579.0

Table 4.

Metabolizable Energy, Protein Content and Digestibility of Some of the Common Feeds at UAC

2.4. Nutrient value for the purchased concentrates

Supplementary feeding by purchased concentrates is usually done to the milking cows in order to increase their milk output. This is done throughout the year. These concentrates are in the form of energy feeds and protein feeds. Their nutrient values are given in Table 2.5.

Energy Feeds
Maize meal10.68614.2
Maize bran9.66512.5
Rice Polishing14.98715.5
Protein Feeds
Cotton seed case (undecorticated)23.1778.5
Cotton seed case (decorticated)41.77210.8
Sunflower cake (undecorticated)20.6909.5
Sunflower cake (decorticated)31.07511.9
Lupin grain33.78114

Table 5.

Metabolizable Energy, Protein Content and Digestibility of the Concentrates

The yields of different crops and grasses for various fertilizer application levels are shown in Table 2.6 and 2.7. The total ME and DCP on the basis of ha can be estimated (see Table 2.8). The total ME and DCP for the purchased concentrates is estimated on the basis of tonnage (see Table 2.9)

CropFertilizer Applied kg N/haDM Yield in kg/haNitrogen Efficiency kg DM/kg N
Natural Pasture03000
Rhodes Pasture60141024*
Rhodes Hay60311552*
Rhodes Silage60345558*
Napier Grass Silage80472059*
Napier Grass Greenfield80449056*

Table 6.

Approximate Nitrogen Efficiency for some of the Crops where Different levels of Fertilizer are applied at UAC

Dry matter yield and fertilizer applied figures were obtained from the UAC.

TypeUseDM Yield in kg/haFertilizer Applied kgN/ha/ (or P/ha)
Natural PasturesPasture550080
Rhodes GrassSilage345560
Napier GrassSilage472080
Green Feed449080
Green feed40000
MaizeSilage10000100N 20P1
OatsGreen Forage250050N 20P1
Green Forage500

Table 7.

Approximate Yield of Different Crops and Grasses (Feeds) for the Most Efficient Fertilizer Levels

The figures for dry matter yield and fertilizer applied were obtained from Uyole Agricultural Centre (UAC).

Metabolizable energy and DCP in Table 2.8 were obtained by multiplying dry matter yield in Table 2.7 by MEMJ/kg DM CP% and CPDC% in Table 2.4 respectively..

2.5. Fertilizer use and pasture production costs

The primary inputs involved in crop production are fertilizer, labour and cost of seeds in certain types of crops.

By using nitrogen, the carrying capacity of the land is increased which directly affects the cost of production. The profitability of applying nitrogen depends on the relationship between the cost of inputs and the value of realized output in the form of livestock and livestock products.

Based on records from production at the UAC, the following costs (Table 2.10) are incurred in pasture production – seed, cultivation and planting costs distributed over five years (the leys/grown pasture assumed life time) and fertilizer application and harvesting costs for three yearly harvest.

TypeFertilizer Level N kgMetabolizable Energy values in MEMJ/haDCP kg/ha
Natural Pastures8050600382.3
Rhodes Grass601226765.6
Green Feed (Forage)
Oats25N 10P26250254.6
Napier Grass80N46696529
Rhodes Grass60N28035174
Rhodes Grass60N2660492.7
Maize100N 20P89000277
Oats25N 10P21000115.8
Napier Grass40N41536483

Table 8.

Estimated Total Metabolizable Energy (ME) and Digestible Crude Protein (DCP) of some of the Commonly Grown Feeds per hectare at UAC

Energy Feeds
Maize Meal1420091.2
Maize Bran1250062.4
Rice Polishing15000129.6
Protein feeds
Cotton Seed Cake (undecorticated)8500178
Cotton Seed Cake (decorticated)10800296.6
Sunflower Cake (undecortimated)9500185.4
Sunflower Cake (decorticated)11900232.5
Lupin Grain14200273

Table 9.

Estimated Total Metabolizable Energy (ME) and Digestible Crude Protein (DCP) of the Purchased Concentrates per ton at UAC

Input OperationUnits per haCost/unitTotal cost per ha
T shs
Cost per Year
T shs
Rhodes Grass Seed5 kg4020040
Desmodium Seed5 kg8040080
Napier Grass Seed (Assumed for Nandi setaria)7 kg4028056
Cultivation1.8 hrs165297223
Fertilizer Application0.8 hrs165132528
Harvesting2.0 hrs2254501350
Interest on Working Capital100

Table 10.

Pasture Production Input Cost at UAC. Source: Myoya., 1980, p. 41.

The production costs are based on the following:

  1. That the harvesting costs per hectare are those obtained at UAC farm where the rates of 100-150 kg. N/ha per year are used.

  2. That with yield increase due to the increase in nitrogen application, more dry matter per hectare are handled and as such the harvesting costs for 120 kg. N/ha will be taken as 100%. For 0 kg. N/ha as 50%, for 60 kg. N/ha as 75%, for 80 kg. N/ha as 80%, for 160 kg. N/ha as 120%, for 240 kg. N/ha as 150%, for 320 kg. N/ha as 180% and for 480 kg N/ha as 200%.

  3. The production costs for silages and hay are assumed to be 50% higher than those of the corresponding grass or crop. Taking into account the harvesting costs of 450 T shs. For 120 kg. N/ha, phosphorous fertilizer cost 8.5 T shs. and nitrogen cost 6.5 T shs. The following were the prices for common feeds at UAC (Table 2.11). The prices for supplementary feeds which are usually bought, are given on tonnage basis.

  4. The official currency of Tanzania is Tanzanian shillings hereby abbreviated as T shs.

Note that at the time of this research, 100 T shs was approximately equivalent to 1 U.S. $. Thus the estimated cost of production of various feeds is depicted in Table 2.11 below.

FeedFertilizer AppliedCost (T shs)
Natural Pasture (per ha)80N1048
Rhodes Grass (per ha)80N2353
Rhodes/Desmodium (per ha)-2032
Green Feed
Napier Grass (per ha)80N2566
Napier/Desmodium (per ha)-1653
Lupins (per ha)20P3544
Oats (per ha)25N 10P3661
Rhodes Grass (per ha)3530
Maize (per ha)5820
Lupins (per ha)5316
Oats (per ha)5492
Napier Grass (per ha)3849
Napier/Desmodium (per ha)2480
Rhodes Grass (per ha)3530
Purchased Foods Cost in Tshs (per ton)
Energy Feeds
Maize Meal10000
Maize bran4000
Rice Polishing12000
Protein Feeds
Cotton Seed Cake (undecorticated)6000
Cotton seed Cake (decorticated)6000
Cotton Seed Cake (undecorticated)6000
Sunflower Cade (undecorticated)6000
Lupin Grain8000

Table 11.

Costs of Feeds per Hectare or per ton Depending on the Nature of Feed (grown or purchased) for most Efficient Fertilizer Applications.


3.1. Setting up the Linear Programming (L.P.) model

All together 23 different feeds were available at UAC under the land utilisation programme. The 23 different feeds include concentrates and minerals which are fed according to milk production. We denote the acreage of the different crop types for the most ‘efficient’ fertilizer application by Xj in hectares for the grown crops and by Yj in tons for the purchased feeds.

3.1.1. The objective function

The objective of the model is to determine the herd size that would maximize the net profit at UAC.

3.2. The objective function coefficient

3.2.1. Milk output and its revenue

According to the annual livestock report of 1984-85 of UAC, Gross income was 3.5 million Tshs. (90% was from dairy, excluding butter processing and cream). Gross income from dairy was 3.15 million T shs. The variable costs of production were 1.575 million T shs. Gross profit was therefore 1.575 million T shs. According to the same report the average number of cows was 100. Therefore the profit per cow was 15,750 T shs per annum.

3.2.2. Milk production input costs

In order to find the optimum herd size, it is important that the inputs i.e. crops involved in dairy production are included in the programme. As already seen earlier, various costs of production could be worked out.

The objective function is therefore to Maximize the Net Profit. Denote the different acreage for the grown crops types by X where j = 1, 2, …. 15 are grown crops in hectares, Yj for the purchased concentrates in tons where j ≥ 17 and by Zj for the herd size when j = 16 where,

For grown crops
hectares of Natural grass pasture.
hectares of Rhodes pasture.
hectares of Rhodes/Desmodium pasture.
hectares of Napier grass green feed.
hectares of Lupins green feed.
hectares of Napier/Desmodium green feed.
hectares of Oats green feed.
hectares of Rhodes grass hay.
hectares of Maize silage.
hectares of Rhodes grass silage.
hectares of Rhodes/desmodium silage.
hectares of Napier grass silage.
hectares of Oasts silage.
hectares of Lupins silage.
Hectares of Napier/Desmodium silage.
For Purchased Feeds
tons Maize meal.
tons of Maize bran.
tons of Rice polishing.
tons of Lupin grain.
tons of Cotton seed cake (undecorticated).
tons of Cotton seed cake (decorticated).
tons of Sunflower cake (undecorticated).
tons of Sunflower cake (decorticated).
the Herd size or the Stocking rate.

Table 12.

Using the cost values in Table 2.12, the objective function will be to


- 15750 Z16 - 1048X1 - 2353X2 - 2032X3

- 2566X4 - 3544X5 - 1653X6 - 3661X7 - 3530X8 - 5820X9 - 3530X10

- 3048X11 - 3840X12 - 5492X13 - 5316X14 - 2480X15 - 10000Y17

- 4000Y18 - 12000Y19 - 8000Y20 - 6000Y21 - 6000Y22 - 6000Y23 - 6000Y24

At UAC, the objective is formulated on the basis of one type of breed only since there is only one breed at UAC for dairy production. In situations where multiple breeds are involved, a multiple objective function can be formulated in line with modified costs and profits accordingly.

The Constraints

3.2.3. Land constraint

Let the total acreage available be A. The acreage constraint ensures that the amount of land available for the growth of various crops is not exceeded.


where A is the total acreage in hectares

Xjis the acreage for different crop types j in hectares.

In the case of UAC, A is 790 hectares.

3.2.4. Maintenance energy requirement constraint

As a cow needs a minimum quantity of bulky food in its diet, it was decided that at least sufficient energy to supply maintenance requirements should come from food of this type, and should be grown on the farm.

Suppose crop j supplies aj kg of energy ( MJME) per ha. If one cow requires Em MJME for maintenance, then


3.2.5. Total energy requirement constraint

Suppose crop j supplies aj megajoules of metabolizable energy per hectare and suppose the purchased concentrates do supply bj megajoules of metabolizable energy per ton. If one cow requires El metabolizable energy for maintenance and lactation then.


3.2.6. Maintenance protein requirement constraint

Suppose crop j supplies pj kg. of digestible crude protein per hectare. If one cow requires q kg. of Digestible Crude Protein for maintenance then.


3.2.7. Total protein requirement constraint

Suppose crop j supplies pj kg. of digestible crude protein per hectare and suppose the purchased concentrated do supply rj kg. of digestible crude protein per ton. If one cow requires t kg. of digestible Crude Protein for maintenance and lactation



3.2.8. Space constraint

Let the space needed for a cow on the average be s m 2. If the available space has a total area of h square metres then this particular farm can accommodate a maximum of M = h/s animals. Thus

Z16 ME11

At UAC s = 6 m 2 area needed by one cow. H = 24,000 m 2 is area of the available shelter at UAC. Then M = h/s = 4000. The number of animals that can be ‘accommodated’. Therefore

Z16 4000E12

Three L.P. models were run with different assumptions for each model. In the first model, the model was run for grown crops only. In the second model the imposed restriction was that maize should not be grown for the purpose of feeding animals (with an intuitive idea that maize should be for humans only). This was removed from the programme in the usual way by making its cost of production exorbitantly high. The problem was unchanged except for the coefficient C9 which was changed from 5820 to 99999. In the third model, the model was run for grown crops and purchased concentrates. The third model was feasible and gave the maximum profit. Thus the third model was adopted for our study. The solutions to the third model is presented in section 3. Together with the solution, post optimality analysis i.e. how sensitive is the optimal solution - and the appropriate interpretation are given for the this model.

We shall use the cost values in Table 2.12 and the net profit of 15,750 Tshs. per cow as calculated in section 3.2.1 for the objective function coefficients. The feed values in Table 2.9 and 2.10 will be used as the coefficients of the left hand side of crop and purchased constraints respectively while feed requirement values in Table 2.1 will be used as the coefficient of the Z on right hand sides of the constraints for the available feed supply periods as shown in Table 2.4. Our linear programming problem involving all the feeds (grown foods and purchased concentrates) is presented as follows:


15750 Z16 - 1048X1 - 2353X2 - 2032X3 - 2566X4 - 3544X5 - 1653X6 - 3661X7

- 3530 X8 - 5820X9 - 3530X10 - 3048X11 - 3840X12 - 5492X13 - 5316X14

- 2480X15 - 10000Y17 - 4000Y18 - 12000Y19 - 8000Y20 - 6000Y21 - 6000Y22

- 6000Y23 - 6000Y24

Subject to

j=115Xj790  land constraintE13
Z16 4000 Fencing space constraintE14

Total energy requirement constraint in January and February

50600X1+ 12267X2+ 16590X3+ 14200Y17+ 12500Y18= 15000Y19++ 14200Y20+ 8500Y21+ 10800Y22+ 9500Y23+ 11900Y24 6073 Z16E15

Maintenance energy requirement constraint in January and February

50600X1+ 12267X2+ 16590X3 2956 Z16E16

Total protein requirement constraint in January and February

382.3 X1+ 65.6X2+ 124.7X3+ 91.2Y17+ 62.8Y18129.6 Y19++273Y20+ 178Y21+ 296.6Y22+ 185.4Y23+ 232.5Y24 47.22 Z16E17

Maintenance protein requirement constraint in January and February

382.3 X1+ 65.6X2+ 124.7X3 16.74 Z16E18

Total energy requirement constraint in December

50600X1+ 12267X2+ 16590X3+ 46696X4+ 48400X6+ 28035X8+ 89000X9++ 26604X10+ 15120X11+ 41536X12+ 35200X15+ 14200Y1712500Y18+ +15000Y19+ 14200Y20+ 85000Y21= 10800Y22+ 9500Y23 + 11900Y24 2812 Z16E19

Maintenance energy requirement constraint in December

50600X1+ 12267X2+ 16590X3+ 46696X4+ 48400X6+ 28035X8++ 89000X9+ 26604X10+ 15120X11+ 41536X12+ 35200X15 1478 Z16E20

Total protein requirement constraint in December

382.3X1+ 65.6X2+ 124.7X3+ 529X4+ 901X6+ 174X8+ 277X8++ 92.7X10+ 53.4X11+ 483X12+ 409.6X15+ 91.2Y17+ 62.4Y18+ 129.6Y19++ 273Y20+ 178Y21+ 296.6Y22+ 185.4Y23+ 232.5Y24 21.33 Z16E21

Maintenance protein requirement in December

382.3X1+ 65.6X2+ 124.7X3+ 529X4+ 901X6+ +174X8+ 277X8+ 92.7X10+ 53.4X11+ 483X12+ 409.6X15 8.37 Z16E22

Total energy requirement constraint in March and April

50600X1+ 12267X2+ 16590X3+ 46696X4+ 57500X5+48400X6+ 26250X11+ +1400Y17+ 12500Y18+ 15000Y19+ 14200Y20+ 8500Y21+ 10800Y22+ 95500Y23+ +11900Y24 6509 Z16E23

Maintenance energy requirement constraint in March and April

50600X1+ 12267X2+ 16590X3+ 46696X4+ 57500X5+48400X6+ 26250X7 2956 z16E24

Total protein requirement constraint in March and April

382.3X1+ 65.6X2124.7X3+ 529X4+ 569X6+ 901X6+ 256X7+ + 91.2Y17+ 62.4Y18+ 129.6Y19273Y20+ 178Y21+ 296.6Y22+ 185.4Y23++ 232.5Y24 51.25 Z16E25

Maintenance protein requirement in March and April

382.3X1+ 65.6X2124.7X3+ 529X4+ 569X6+ 901X6+ 256X7 16.74 Z16E26

Total energy requirement constraint in May

50600X1+ 12267X2+ 16590X3+ 46696X4+ 57500X5++ 48400X6+ 26250X7+ 89000X9+ 14200Y17+ 12500Y18+ + 15000Y19+ 14200y20+ 85500y21+ 10800Y22+ 9500Y23+ 11900Y24 3761 Z16E27

Maintenance energy requirement constraint in May

50600X1+ 12267X2+ 16590X3+ 46696X4++ 57500X5+48400X6+ 26250X7+ 89000X9 1478 Z16E28

Total protein requirement constraint in May

382.3X1+ 65.6.X2+ 124.7X3+ 529X4+ 569X4+ 901X6+ 256X7+ + 91.2Y17+ 62.4Y18+ 129.6Y19+ 273Y20+ 178Y21+ 296.6Y22+ 185.4Y23++ 232.5Y24 30.55 Z16E29

Maintenance protein requirement constraint in May

382.3X1+ 65.6.X2+ 124.7X3+ 529X4+ 569X4+ 901X6+ + 256X7+ 277X9 8.37 Z16E30

Total energy requirement constraint in June

46696X4+ 57500X5+ 48400X6+ 26250X7++ 89000X9+ 14200Y17+ 12500Y18 + 15000Y19+ + 14200Y20+ 8500Y21+ 10800Y22+ 9500Y23+ + 11900Y24  3400 Z16E31

Maintenance energy requirement constraint in June

46696X4+ 57500X5+ 48400X6+ 26250X7+ 89000X9 1478 Z16E32

Total protein requirement constraint in June

529X4+ 569X5+ 901X6+ 256X7+ 277X99.2Y17+ + 62.4Y18+ 129.6Y19+ 273Y20+ 178Y21+ 296.6Y22+ + 185.4Y23+ 232.5Y24 27.04 Z16E33

Maintenance protein requirement constraint in June

529X4+ 569X5+ 901X6+ 277X9 8.37 Z16E34

Total energy requirement constraint in July and August

46696X4+ 57500X5+ 48400X6+ 89000X9+ 26604X10+ 15120X11+ + 41536X12+ 21000X13+ 14200Y17+ 12500Y18+ 15000Y19+ 14200Y20+ + 14200Y20+ 8500Y21+ 10800Y22+ 9500Y23+ 11900Y24 + 85200X14+ + 35200X1 6266 Z16E35

Maintenance energy requirement constraint in July and August

46696X4+ 57500X5+ 48400X6+ 89000X9+ 26604X10++ 15120X11+ 41536X12+ 21000X13+ 85200X14+ 35200X15 2956 Z16E36

Total protein requirement constraint in July and August

529X4+ 569X5+ 901X6+ 277X9+ 92.7X10+ 91.2Y17++ 62.4Y18+ 129.6Y19+ 273Y20+ 178Y21+ 296.6Y22+ + 185.4Y23+ 232.5Y24+ 53.4X11+ 483X12+ 115.8X13+ 1650X14++ 409.6X15 48.9 Z16E37

Maintenance protein requirement constraint in July and August

529X4+ 569X5+ 901XX+ 277X9+ 92.7X10+ + 53.4X11+ 483X12+ 115.8X13+ 1650X14+ + 409.6X15 16.74 Z16E38

Total energy requirement constraint in September, October and November

46696X4+ 48400X6+ OX7 + 28035X9+ 26604X10+ + 15120X1141536X12+ 35200X15+ 14200Y17+ 12500Y18+ + 15000Y19+ 14200Y20+ 8500Y21+ 10800Y22+ 9500Y23+ + 11900Y24 9172 Z16E39

Maintenance energy requirement constraint in September, October and November

46696X4+ 48400X6+ 28035X8+ 89000X9 ++ 26604X10+ 15120X11+ 41536X12+35200X15 4434 Z16E40

Total protein requirement constraint in September, October and November

529X4+ 901X6+ 174X8+ 277X9+ 92.7X17++ 91.2Y17+ 62.4Y18+ 129.6Y19+ 273Y20+ 178Y21++ 296.6Y22+ 185.4Y23+ 232.5Y2453.4X11+ 484X12++ 409.6X15 71.15 Z16E41

Maintenance protein requirement constraint in September, October and November

529X4+ 901X6+ 174X8+ 277X9+ 92.7X10++ 53.4X11+ 483X12+ 409.6X15 25.11 Z16E42

ALL X’s, Y’s and Z ≥ 0.

3.3. The stocking rate or the herd size model

The L.P. problem for UAC was run using the OR software by Dennis and Dennis (1991).

One could run any number of models with different assumptions for each model. In our case, three LP models were considered with different assumptions for each model. The assumptions considered were running the LP with all grown crops included, concentrates excluded, running the LP with maize and concentrates excluded and running the LP with all grown crops and concentrates included. The purpose of doing this was to find out what combination of foods would give the maximum profit. This and the previous linear programming problems were run on an IBM PC using the OR software by Dennis and Dennis (1991). Here OR (Operations Research) is defined as the systematic application of quantitative methods, techniques, and tools to the analysis of problems involving the operation of the system. The aim is the evaluation of probable consequences of decision choices, usually under conditions requiring the allocation of scarce resources –funds, manpower, time, or raw materials (Daellenbach & George, 1978). The computer output tables are presented in Table 3.1. The simplex tableau for the grown crops and purchased concentrates is discussed.

Inclusion of concentrates results into a big profit of T shs. 58,752,345.70. The option of giving concentrates to cows has a significant impact on profit maximization at UAC as shown in Table 3.1 We recommend this model.

The following results were obtained after 15 iterations of the Simplex Algorithm.


Table 13.

The Final Simplex Tableau displaying all the Feeds (Grown and Purchased Concentrates).

Optimal Profit = T.shs 58,752,345.717. S here refers to slacks.

Results show that land to be allocated for natural pastures is 361.234 hectares, Napier/Desmodium 184.378 hectares and maize production 244.388 hectares. Total land used for their production is therefore 790 hectares i.e. the whole land available is utilized. Concentrate supplementation is 85.545 tons of cotton seed cake (decorticated) and 407.174 tons of maize bran. Fencing land for the cows is fully utilized. Herd size is 4000 cows. Since whatever available land and fencing has been utilized under this programme and profit has been maximized, it was deemed reasonable to adapt this model.


4.1. Sensitivity analysis

4.1.1. Abundant and scarce resources

Associated with every LP; there is a corresponding optimization problem called the Dual Problem. The original problem is called the primal problem. The purpose of the dual in our case is to identify scarce and abundant resources and as such give recommendations if any. Dual values represent quite precisely the per unit increase in the objective function which would follow from an increase in the availability of the corresponding factors or resources.

It should be obvious, first of all, that an increased availability of a factor which is not fully used will only leave more of it unused and add nothing to the objective function and such a constraint has zero dual value – it is a free good. (Note that a good is free, not because it is not used, but because there is more available than is required. Air and water are the classical cases of free goods which would be very far from free if their availability were restricted).

To summarise, we can assert that if Yk represents the per unit increase in revenue from an increase in the availability of the k th factors, then a change in availability of Δk will lead to a change in revenue of YkΔk.

It is obvious that an increased availability of a factor which is fully utilized can add considerably to the value of the objective function. Land constraint is fully utilized and its dual value is positive (8003.55). Similarly fencing space for cows (constraint 2) is fully utilized, its dual value is positive (13107.383). So an increase in the land for crops and an increase in the space for the animals can still add considerably to the revenue of the enterprise by rearing more cows. Thus, per unit increase in the land acreage would increase the objective function by 8003.55 whereas per unit increase in the fencing space would increase the objective function by 13107.385 with all other coefficients in the problem remaining the same.

On the other hand, a small increase in the right-hand-side of an abundant resource constraint will only change the amount of slacks or surplus and will not affect the value of the objective function. Thus the shadow price for any non-binding constraint is zero.

The other constraints, for example constraint (4) and constraints (6) to (30) except constraints (27) and (29), are not so binding in our case since an increase in their availability will leave more of them unused and add nothing to the revenue and, as such, their dual values are zero.

Constraints (1), (2), (3), (5), (27), and (29) are binding in our case and as such their dual values are positive. They are therefore scarce resources. If we go back to the primal problem we will see that these aforementioned constraints have all their slack values equal to zero and their corresponding dual variables are positive.

VariableDual solution or shadow priceConstraint

Table 14.

Dual values for the recommended programme (model three whereby grown crops and concentrates are included).

The scarce resources in our model are therefore land, fencing space, energy supply from January to February, protein supply from January to February, energy supply from September to November and protein supply from September to November. Energy and protein supplies are scarce from September to November because these are dry months in Mbeya Region and as such food is scarce during this period. Similarly the supply of food from January to February is not adequate in Mbeya Region.

As for the abundant resources these have dual values equal zero in their constraints. An abundant resource worth mentioning is energy supply from March to April. The slack of this constraint S11 has the value 7179873.953 in the primal. This slack is an indication of surplus food available during rainy season in Mbeya Region which is mostly pronounced in March and April.

4.1.2. The objective function coefficients

It is important for us to know, for example, for what ranges of prices of the inputs in the objective function is the solution still optimal. To do this we assume the coefficient matrix A and the right hand side constraints b are unchanged but the profits vector c is changed to c+λc, where λ is any constant. The results are presented in Table 4.2.

Coefficient of VariablesLower LimitOriginal ValueUpper Limit
X2NO LIMIT-25536015.1
X3NO LIMIT-20325040.77
X4NO LIMIT-2566-343.01
X5NO LIMIT-35448003.55
X7NO LIMIT-36618003.55
X8NO LIMIT-35303401.85
X10NO LIMIT-10000-4756.94
X11NO LIMIT-35303843.18
X12NO LIMIT-30485637.02
X13NO LIMIT-3840543.8
X14NO LIMIT-53168003.55
Y19NO LIMIT-1200-5373.61
Y20NO LIMIT-8000-6662.69
Y21NO LIMIT-6000-4141.11
Y23NO LIMIT-6000-4486.36
Y24NO LIMIT-6000-5622.5
X15NO LIMIT-2480-1680.90
Z162642.61515750NO LIMIT

Table 15.

Sensitivity Analysis of Objective Function Coefficients

Of interest are the coefficients of the variables X1, X6, X9, Y18, Y22 and Z16. the lower and upper limits within which the solution is still optimal are shown in Table 4.2.

For example, the solution is still optimal so long as -9043.741 < C1< 20358.836 and so on. The cost (C1) of natural pasture in the objective function is -1048 per hectare. As long as this cost lies between -9043-741 and 20358..836 the solution is still optimal so long as the other costs C1’s remain as they were in the primal.

4.2. The right-hand-side ranges

The right-hand-side ranges provide limits within which the objective coefficients of the dual problem are allowed to change without changing the solution. For changes outside the range the problem must be resolved to find the new optimal solution and the new dual price. We call the range over which the dual price is applicable the range of feasibility.

Assuming A and c are unchanged, b changes to b+χb where χ is any constant, the right-hand side ranges within which the objective function remains optimal are presented in table 4.3.

ConstraintLower LimitOriginal ValueUpper Limit
4-124680000NO LIMIT
61219200NO LIMIT
743718442.080NO LIMIT
84905442.080NO LIMIT
9328539.770NO LIMIT
10-389219.770NO LIMIT
11-7179873.950NO LIMIT
12-21391873.950NO LIMIT
13-150004.180NO LIMIT
14-288044.180NO LIMIT
15-39922442.080NO LIMIT
16-49054442.080NO LIMIT
17-300499.770NO LIMIT
18-389219.770NO LIMIT
19-230880000NO LIMIT
20-307760000NO LIMIT
21-1764400NO LIMIT
22-2511200NO LIMIT
23-116240000NO LIMIT
24-248640000NO LIMIT
25-890000NO LIMIT
26-2176400NO LIMIT
27-25622891.490NO LIMIT
28-189520000NO LIMIT
29-281115.740NO LIMIT
30-1841600NO LIMIT

Table 16.

Sensitivity Analysis of Right Hand Ranges

Of interest are constraints (1), (2), (3), (5), (27) and (29) i.e., land for cultivation, fencing space, energy and protein supply from January to February and energy and protein supply from September to November constraints. These are the binding constraints in our model. As shown in Table 4.3, the ranges of constraints (1) and (2) are all positive i.e. 174.04 < Land size < 983.61 and 3212.67 < fencing space < 18158.99 and so on. For example, land size could be increased up to 983.61 hectares so long as the A matrix and the objective function vector are unchanged. The solution would still be optimal. An increase of one hectare of land would increase the objective function by 8003.55 as provided for by the dual.

Changes in the right-hand side of the constraints show how the optimal solution and net profit would change if we could obtain additional land or fencing space.


5. Conclusion

The model has managed to ascertain the profitability of a dairy farm. Indeed, this form of argument can be useful in the management of dairy farms of similar traits elsewhere. The assumption here is that the herd size was kept constant throughout the year. Perhaps this is an oversimplification but it provides a starting point. There is a need of formulating Operational Research models for which the need for having a fixed herd size can be relaxed. As can be seen from the input parameters of the L.P., the values are probably not in line with dynamics of time and technological advancement of raring /keeping dairy cattle. Perhaps there is a need of updating the input parameters so that they can match with time from farm to farm.


  1. 1. AkarroR. R. J.1995An Operational Study of Dairy Farming in Tanzania. Unpublished Ph.D. thesis, University of Dar es Salaam.
  2. 2. AkarroR. R. J.2009Milk Breed Selection in Selected Farms in Tanzania by the Use of Simulation Techniques. European Journal of Scientific Research, 341July, 2009.
  3. 3. Annual livestock report of198485of UAC. Unpublished Report, UAC. Mbeya, Tanzania.
  4. 4. ArmstrongD. G.1964Evaluation of artificially dried grass as a source of energy for sheep.2. J. Agric. Sci. Camb. 62399417
  5. 5. BalchC. C.1976Ruminant digestion and nutritive value pages 214218in P.V.Fonnesbeck, L.E.Harris & L.C.Kearl, eds. Proc.of the 1st Int..Symp. on Feed composition. Animal Nutrient Requirements and Computerization of diets. Utah Agr. Exp. Sta., Utah State University, Logan.
  6. 6. DaellenbachH. G.GeorgeJ. A.1978Introduction to Operations Research Techniques. Allyn & Bacon, Inc.
  7. 7. DennisT. L.DennisL. B.1991Decision Support Software/ Management Science. Linear Programming. Copyright 1991, West Publishing Co.
  8. 8. Blaxter,K.L.1969The efficiency of energy transformation in ruminants. In K.L. Blaxter, J.Klelanowski & G.Thorbek eds. Energy metabolism of farm animals. London, Routledge and Regan Paul, 2128
  9. 9. Blaxter,K.L.1973Metabolizable energy and feeding system for ruminants. In H. swan & D. Lewis, eds. Proc. Of Nutrition Conf. for Feed manufacturers 7London, Butterworths.
  10. 10. BredonR. M.1963Feeding livestock in Africa, quoted by Kurwijila, R.L. (1991). Dairy Production and management Vol. I. Basic husbandry and management practices under Tropical Environment. Lecture notes compendium for B.Sc. courses at SUA.
  11. 11. GohlB. O.1981Tropical Feeds, FAO, Rome.
  12. 12. HuntL. A.1966Ash and energy content of material from several forage grasses. Crop Science, 6507509
  13. 13. ILCA1978International Livestock Centre for Africa). Mathematical Modelling of Livestock Production Systems. Application of the Texas A & M. University beef cattle production model to Botswana. System Studies 1Addis Ababa.
  14. 14. KayM.1976Meeting the energy and protein requirements of the growing animal. In H. Swan & W.H.Broster, eds. Principles of Cattle Production. London, Butterworths.
  15. 15. KearlL. C.1982Nutrient requirements of Ruminants in Developing Countries. International Feed Stuffs Institute. Utah Agric. Exptal. Stat; Utah State University; Logan, Utah.
  16. 16. KifaroG. C.AkarroF. M. N.1987Livestock Research in Southern Highland of Tanzania. Past constraints and future prospects, Paper presented at the National Workshop on Agricultural Research in Tanzania, 1987. Arusha, Tanzania.
  17. 17. KonandreasP. A.AndersonF. M.1982Cattle herd dynamics: an integer and stochastic model for evaluating production alternatives. ILCA (International Livestock Centre for Africa). Research Report 2Addis Ababa, Ethiopia.
  18. 18. KurwijillaR. L.1991Dairy Production and Management. Vol I. Basic Husbandry and management practices under tropical environment. Lecture notes compendium for B.Sc. courses at SUA.
  19. 19. MAFF1975Energy allowances and feeding system for ruminants. Ministry of Agriculture, Fisheries and Food, United Kingdom. Technical Bulletin 33London.
  20. 20. MAFF (Ministry of Agriculture, Fisheries and Food LGR 21,1979Nutrient allowances and composition of feed stuffs for ruminants. Ministry of Agriculture, Fisheries and Food, United Kingdom.
  21. 21. MbwileR. P.KanyawaraK. S.WiktorssonH.1981Digestibility and dry matter intake of Desmodium intortum/grass mixture and Rhodes grass fed with or without concentrate to dairy cow. Swedish University Agricultural Science Report 84
  22. 22. MyoyaT. J.1980Pasture Research. 1970/711977Uyole Agricultural Centre, Mbeya, Tanzania. Research Report 28October 1980.
  23. 23. NehringK.1970Futtermitteltablellen-work. DT. Landus, Verlag, Berlin. Quoted by Kearl (1982).
  24. 24. NRC1971Nutrient requirements of Domestic Animals 2Nutrient requirements of Dairy cattle. Fourth Revised ed, Natl. Academy of Sciences, National Research Council, Washington D.C.
  25. 25. OrskovE. R.1976Factors influencing protein and non protein nitrogen utilization in young ruminants 456476in D.J. Cole, K.N. Boorman, P.J. Buttery, D. Lewis, R.J. Neale & H. Swan eds. Proc. Of the ist Int. Symp. On Protein Metabolism and Nutrition. EAAP Pub. 16Butterworths, London.
  26. 26. PatleB. A.MudgalV. D.1976Protein requirements of crossbred lactating cows. Indian J. Dairy Sci. 29: 247.
  27. 27. PidgenW. J.BalchC. C.GrahamM.1979eds. Standardization of analytical methodology for feeds. Proc. Of a workshop. Ottawa Int. Dev. Res. Centre (IDRC).
  28. 28. PoppeS. S.GabelM.1977Views on the requirements of Beef Cattle (including fattening cattle) for Protein, essential Amino Acids and Non Protein Nitrogen and new sources of these nutrients suitable for use in the feeding of beef cattle.
  29. 29. RanjhanS.MohanD. V.SinghR.1977Energy and protein requirement of Holsten-Friesian and Holstein-Friesian X Hariana crosses for maintenance and milk production. Indian J. Anim. Sci. 45: 717.
  30. 30. SenK. C.RayS. N.RanjhanS. K.1978Nutrient value of Indian feeds and the feeding animals. Indian Council Agr. Res. Bull. 25.
  31. 31. Van EsA. J. H.1976Factors influencing the efficiency of energy utilization by beef and dairy cattle. In H. Swan & W.H.Broster, eds. Principles of Cattle Production. London, Butterworths, 237253
  32. 32. WebsterA. J. F.1978Prediction of the energy requirements for growth in beef cattle. Wld. Rev. Nutr. Diet. 30189226

Written By

Rocky R.J. Akarro

Submitted: February 28th, 2011 Published: September 26th, 2012