APSIM-OPTIMIZATION In this set of codes I have used 'apsimr' R package to run APSIM model and perform simple optimization.