Optimization of irrigation management: what factors to keep into consideration?