Changeset 699


Ignore:
Timestamp:
Nov 30, 2005 10:33:26 AM (15 years ago)
Author:
forrest
Message:

factorization frequency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpSolve.cpp

    r691 r699  
    652652  }
    653653#endif
    654   if (model2->factorizationFrequency()==200) {
     654  if (this->factorizationFrequency()==200) {
    655655    // User did not touch preset
    656656    int numberRows = model2->numberRows();
     
    670670      frequency=base+cutoff1/freq0 + (cutoff2-cutoff1)/freq1 + (numberRows-cutoff2)/freq2;
    671671    model2->setFactorizationFrequency(CoinMin(maximum,frequency));
     672  } else if (model2!=this) {
     673    // make sure model2 has correct value
     674    model2->setFactorizationFrequency(this->factorizationFrequency());
    672675  }
    673676  if (method==ClpSolve::automatic) {
Note: See TracChangeset for help on using the changeset viewer.