Temperature Sum Based Hierarchical Optimization for Greenhouse Environmental Factors