Changeset 705


Ignore:
Timestamp:
Jul 25, 2007 9:39:44 AM (12 years ago)
Author:
forrest
Message:

INT_MAX to COIN_INT_MAX in Cbc/examples

Location:
trunk/Cbc/examples
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/examples/CbcBranchUser.cpp

    r640 r705  
    139139       4 - take cheapest up branch if infeasibilities same
    140140    */
    141     int bestNumber=INT_MAX;
     141    int bestNumber=COIN_INT_MAX;
    142142    double bestCriterion=-1.0e50;
    143143    double alternativeCriterion = -1.0;
  • trunk/Cbc/examples/CbcSolver2.cpp

    r83 r705  
    445445    for (int i=0;i<numberColumns;i++) {
    446446      if (keep&&keep[i])
    447         node_[i]=INT_MAX;
     447        node_[i]=COIN_INT_MAX;
    448448      else
    449449        node_[i]=0;
  • trunk/Cbc/examples/CbcSolver3.cpp

    r174 r705  
    487487    for (int i=0;i<numberColumns;i++) {
    488488      if (keep&&keep[i])
    489         node_[i]=INT_MAX;
     489        node_[i]=COIN_INT_MAX;
    490490      else
    491491        node_[i]=0;
  • trunk/Cbc/examples/CbcSolverLongThin.cpp

    r124 r705  
    6969  int nNewRow=0;
    7070  int nNewCol=0;
    71   int sizeDynamic = INT_MAX;
     71  int sizeDynamic = COIN_INT_MAX;
    7272  int smallOriginalNumberRows=0;
    7373  if (algorithm_==0) {
     
    714714    for (int i=0;i<numberColumns;i++) {
    715715      if (keep[i])
    716         node_[i]=INT_MAX;
     716        node_[i]=COIN_INT_MAX;
    717717      else
    718718        node_[i]=0;
Note: See TracChangeset for help on using the changeset viewer.