Currently silvopastoral systems have been presented as a viable and sustainable alternative in economic, social and environmental terms. The objective of this work is to present an integer linear programming model (ILP), that numerically represents or simulates the optimal operating conditions of a silvopastoral system inspired by the typology of the rural establishment "La Aguada", an experimental agricultural and forestry center, belonging to the National University of Rio Cuarto and located in the province of Córdoba (Argentina). The model imposes conditions on the adequacy of the gain of the live weight of each animal of the herd considered in the system, as well as the optimal control of the areas of pasture and bovine movement. It is important to highlight that this is an attempt to mathematically model improvements in food production systems. Each ILP was solved using the INTLINPROG solver in MATLAB software. Thus, after the computational implementation, it was verified that the program meets all restrictions imposed, maximizes the gain of the live weight of each animal and optimizes the pasture area use, thus showing a consistent, balanced and recommended program for the economic controlling of a silvopastoral system in general.