In France, many dairy farms plan the allocation of animal wastes to the fields of the farm at the beginning of every year. This decision is complex, because many factors must be taken into account at the field and farm scales, including increasingly constraining environmental regulations. To evaluate the environmental impact of waste allocation strategies, these strategies have to be translated into consistent decisions. The objective of the current study was to reproduce the decisions made by farmers, in a wide range of contexts. For this purpose, a linear programming model that could help in generating yearly waste allocations was developed. The model, called Fumigene, takes into account the farmer's preferences and environmental, agronomic and feasibility constraints. It was applied on two case farms and the simulated waste allocations were compared to those chosen by the farmers over periods of 3 and 4 years, respectively. The evaluation showed that the waste allocations generated by the model were consistent with the strategies of the farmers. Fumigene was then used in investigating the impact of taking into account the phosphorus (P) fertilization constraints instead of only the nitrogen constraints. In the case studied, balancing P fertilization over 5 years led to small changes in waste allocation. Balancing P fertilization every year caused bigger changes and led to export of a part of the wastes. In a general way, Fumigene can be coupled with environmental evaluation tools to compare the impacts of different waste allocation strategies.