Activity 8C : « Wheat/maize » model – An error without an error message

Length : around 10 minutes

A student has developed the Wheat/Maize farm model but has made a slightly unusual error. The optimum results do not resemble those of the initial model. Download the model primal1_erreurEtudiant.zip, run it and find that error.

Reminder of the problem statement :

 « A given farm can grow two types of crop : wheat and maize. The area to be cultivated must be determined for each crop, knowing that :
The objective of the farmer is to maximize his income.
Wheat yields 450€ per hectare, maize 1000€.
Wheat requires 25 hours of labour per hectare and per year, and maize 50 hours.
The farm area is 50 ha and the farmer can work 2000 hours a year. »


Once you have found the error, check the solution :

                                           solutions