PinkPig

PinkPig is a local pig farm. Among the challenges they face in raising healthy animals is composing a nutritious diet as cheaply as possible.

A good pig diet must contain a sufficient amount of energy and protein. PinkPig relly on a mix of rice and corn to supply these nutrients.

The tables below contain the cost of each ingredient, the minimum and maximum recommended daily intake of each nutrient, and the quantity of each nutrient in each ingredient.

Foods

Food Name Cost ($/Kg)
rice 1.50
corn 2.23

Nutrients

Nutrient Name Min Intake (Kg) Max Intake (Kg)
carbohydrates 6.0 7.5
protein 0.9 1.6

Foods Nutrients

Food ID Nutrient ID Quantity (Kg)
rice carbohydrates 0.77
rice protein 0.08
corn carbohydrates 0.66
corn protein 0.14