Silvopasture optimization