OPTIMIZATION ALGORITHM FOR VERTICAL AGRIVOLTAICS