function listprob()
% listprob
%     Lists the problems and their dimentions.
% ----------
% Tamara Gibson
% Applied Math Program, Univ. of Maryland, College Park, MD 20742
% gibson@math.umd.edu
% http://www.cs.umd.edu/~gibson
% ----------
% Companion to:
% Tamara Gibson, Dianne P. O'Leary and Larry Nazareth
% "BFGS with Update Skipping and Varying Memory"
% Technical Report CS-TR-3663 UMIACS-TR-96-49
% University of Maryland College Park, 1996
% ----------
% 1996
% ----------

load results;

for i=1:200
  expression = ['prob',num2str(i)];
  if exist(expression)
    fprintf(1,'Problem %2d: %-8s  N = %d\n',i,eval(expression),...
      eval(['size',num2str(i)]));
  else
    break;
  end
end