Actual source code: TestingInitialize.m

petsc-3.12.0 2019-09-29
Report Typos and Errors
  1: % Sample calling syntax for testing taopounders and comparing to fminsearch
  2: % TestingInitialize is called once before solving any instances

  4: % Make the test problem accessible to the matlab session and load the data matrix
  5: addpath('more_wild_probs/')
  6: load dfo.dat

  8: % Allocate global vectors to store the iterates generated by the algorithms
  9: global nfev fvals fvecs X_hist

 11: % Initialize the problems that are being solved and the storage of the results
 12: to_solve = 1:53;
 13: Results = cell(1,length(to_solve));

 15: % Initialize the constant factor for the number of allowable function evaluations
 16: nf_const = 10;