The nutritional requirements mean that the following conditions must be observed, that is for all i
:
Finally every food must be within its bounds, that is for all j
:
With what we have learned so far, we can implement a method that creates such a model.
The function receives several parameters. The parameter model
is used for two things: