#AMPL run file for ECOMOD-14-746. #Reindeer management and winter pastures in the presence of supplementary feeding and government subsidies #May 22, 2015 #For Knitro 7.0.0 and 9.1.0 #Antti-Juhani Pekkarinen, Olli Tahvonen, Jouko Kumpula #Without changes this code computes the results for Figure 9a. reset; option display_width 2; model ReiMod2.mod.txt; data ReiMod2.dat.txt; option solver knitroampl; option knitro_options "maxit=6000 opttol=1.0e-6 xtol=1.0e-20"; solve; let U:=0; solve; #let supplementaryfeeding:=0; #use for computing results without suplementary feeding, additionally in Knitro 7.0.0 change K to 10000000 #solve; #use for computing results without suplementary feeding option display_width 1000; display LichenBiomass,NumberOfReindeer,SlaugtheredReindeer,SlaugtheredCalves,NetRevenues,CalvesPer100Females,AverageBirthWeight,SupplemFoodPerReindeer;