Changeset 2387


Ignore:
Timestamp:
Jan 7, 2019 10:53:50 AM (2 months ago)
Author:
forrest
Message:

adjust guess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplexOther.cpp

    r2385 r2387  
    1050910509    double median = obj[numberColumns_ / 2];
    1051010510    for (int i = 0; i < numberColumns_; i++) {
    10511       if (!isInteger(i))
     10511      if (!isInteger(i) && columnUpper_[i] > columnLower_[i])
    1051210512        allInt = false;
    1051310513      average += obj[i];
     
    1051610516    average /= numberColumns_;
    1051710517    if (allInt) {
    10518       if (average <= 0.009)
     10518      if (average <= 0.0086207)
     10519        sprintf(environment, "-idiot 30 -pertvalue -1483 -primals");
     10520      else
    1051910521        sprintf(environment, "-idiot 60 -primals");
    10520       else
    10521         sprintf(environment, "-idiot 30 -pertvalue -1483 -primals");
    1052210522    } else {
    1052310523      if (median <= 0.75)
     
    1053210532    return environment;
    1053310533  }
    10534 
    10535   /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
    10536 */
Note: See TracChangeset for help on using the changeset viewer.