Changeset 1407


Ignore:
Timestamp:
Dec 21, 2009 5:41:51 AM (9 years ago)
Author:
forrest
Message:

out possible assert failure

Location:
trunk/Cbc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcModel.cpp

    r1261 r1407  
    1019910199      //newObject->setNumberBeforeTrust(numberBeforeTrust_);
    1020010200      newObject->setPriority(priority);
     10201      newObject->setPosition(iObject);
    1020110202      newObject->setPreferredWay(preferredWay);
    1020210203      object_[iObject] = newObject;
  • trunk/Cbc/src/CbcSolver.cpp

    r1266 r1407  
    1040210402                    // unbounded
    1040310403                    fprintf(fp, "Unbounded" );
    10404                   } else if (iStat==3) {
    10405                     fprintf(fp, "Stopped on iterations or time" );
    10406                   } else if (iStat==4) {
    10407                     fprintf(fp, "Stopped on difficulties" );
    10408                   } else if (iStat==5) {
    10409                     fprintf(fp, "Stopped on ctrl-c" );
     10404                  } else if (iStat >= 3&&iStat <= 5) {
     10405                    if (iStat==3)
     10406                      fprintf(fp, "Stopped on iterations or time" );
     10407                    else if (iStat == 4)
     10408                      fprintf(fp, "Stopped on difficulties" );
     10409                    else 
     10410                      fprintf(fp, "Stopped on ctrl-c" );
     10411                    if (babModel_&&!babModel_->bestSolution())
     10412                      fprintf(fp," (no integer solution - continuous used)");
    1041010413                  } else if (iStat==6) {
    1041110414                    // bab infeasible
Note: See TracChangeset for help on using the changeset viewer.