Changeset 1464 for trunk/Clp/src/ClpPresolve.cpp
 Timestamp:
 Nov 28, 2009 6:11:05 AM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Clp/src/ClpPresolve.cpp
r1402 r1464 606 606 // later do faster if many changes i.e. memset and memcpy 607 607 prob>numberRowsToDo_ = prob>numberNextRowsToDo_; 608 int kcheck;609 bool found=false;610 kcheck=1;608 //int kcheck; 609 //bool found=false; 610 //kcheck=1; 611 611 for (i=0;i<prob>numberNextRowsToDo_;i++) { 612 612 int index = prob>nextRowsToDo_[i]; 613 613 prob>unsetRowChanged(index); 614 614 prob>rowsToDo_[i] = index; 615 if (index==kcheck) {616 617 618 619 }620 } 621 if (!found&&kcheck>=0)622 615 //if (index==kcheck) { 616 //printf("row %d on list after pass %d\n",kcheck, 617 // whichPass); 618 //found=true; 619 //} 620 } 621 //if (!found&&kcheck>=0) 622 //prob>rowsToDo_[prob>numberRowsToDo_++]=kcheck; 623 623 prob>numberNextRowsToDo_=0; 624 624 prob>numberColsToDo_ = prob>numberNextColsToDo_; 625 kcheck=1;626 found=false;625 //kcheck=1; 626 //found=false; 627 627 for (i=0;i<prob>numberNextColsToDo_;i++) { 628 628 int index = prob>nextColsToDo_[i]; 629 629 prob>unsetColChanged(index); 630 630 prob>colsToDo_[i] = index; 631 if (index==kcheck) {632 633 634 635 }636 } 637 if (!found&&kcheck>=0)638 631 //if (index==kcheck) { 632 //printf("col %d on list after pass %d\n",kcheck, 633 // whichPass); 634 //found=true; 635 //} 636 } 637 //if (!found&&kcheck>=0) 638 //prob>colsToDo_[prob>numberColsToDo_++]=kcheck; 639 639 prob>numberNextColsToDo_=0; 640 640 if (paction_ == paction1&&fill_level>0)
Note: See TracChangeset
for help on using the changeset viewer.