1% Sample calling syntax for testing taopounders and comparing to fminsearch 2% TestingPlot is called after taopounders completes. It reads the results 3% from results.mat and produces a performance profile comparing 4% taopounders to fminsearch. 5 6% Make the test problem accessible to the MATLAB session and load the data matrix 7addpath('more_wild_probs/') 8load dfo.dat 9 10% Initialize the problems that are being solved and retrieve the results 11to_solve = 1:53; 12load results Results; 13 14% Initialize the constant factor for the number of allowable function evaluations 15nf_const = 10; 16 17% Produce the performance profile and save the plot for the two solvers 18SolverNumber = 2; 19H = inf(nf_const*(max(dfo(to_solve,2))+1),length(to_solve),SolverNumber); 20for np = to_solve 21 for s = 1:SolverNumber 22 H(1:length(Results{s,np}.H),np,s) = Results{s,np}.H; 23 end 24end 25h = perf_profile(H,1e-3,0); 26legend(h,{Results{1,1}.alg, Results{2,1}.alg}); 27saveas(gca,'perf.png'); 28 29