Changeset 853 for branches


Ignore:
Timestamp:
Sep 14, 2006 2:15:03 PM (13 years ago)
Author:
forrest
Message:

help fix presolve bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Clp/src/ClpPresolve.cpp

    r849 r853  
    14331433  // Messages
    14341434  CoinMessages messages = originalModel->coinMessages();
     1435  // Only go round 100 times even if integer preprocessing
     1436  int totalPasses=100;
    14351437  while (result==-1) {
    14361438
     
    14571459    if (!keepIntegers)
    14581460      presolvedModel_->deleteIntegerInformation();
     1461    totalPasses--;
    14591462
    14601463    double ratio=2.0;
     
    16971700                                                       <<numberChanges
    16981701                                                       <<CoinMessageEol;
    1699           if (!result) {
     1702          if (!result&&totalPasses>0) {
    17001703            result = -1; // round again
    17011704          }
Note: See TracChangeset for help on using the changeset viewer.