Changeset 212 for branches/pre/Idiot.cpp


Ignore:
Timestamp:
Oct 2, 2003 1:21:02 PM (17 years ago)
Author:
forrest
Message:

lots of stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pre/Idiot.cpp

    r210 r212  
    122122  }
    123123  sum /= (double) (nnzero+1);
    124   // If mu not changed then compute
    125   if (mu_==1e-4)
    126     mu_= max(1.0e-3,sum*1.0e-5);
    127   maxIts_=20;
    128   maxIts2_=105;
     124  maxIts_=2;
    129125  if (numberPass<=0)
    130126    // Cast to double to avoid VACPP complaining
     
    132128  else
    133129    majorIterations_=numberPass;
     130  // If mu not changed then compute
     131  if (mu_==1e-4)
     132    mu_= max(1.0e-3,sum*1.0e-5);
     133  if (!lightWeight_) {
     134    maxIts2_=105;
     135  } else {
     136    mu_ *= 10.0;
     137    maxIts2_=23;
     138  }
    134139  //printf("setting mu to %g and doing %d passes\n",mu_,majorIterations_);
    135140  solve2(handler,messages);
Note: See TracChangeset for help on using the changeset viewer.