Changeset 84


Ignore:
Timestamp:
Mar 22, 2005 5:17:58 PM (16 years ago)
Author:
forrest
Message:

new message

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/CbcMessage.cpp

    r67 r84  
    4242  {CBC_CUTOFF_WARNING1,23,1,"Cutoff set to %g - equivalent to best solution of %g"},
    4343  {CBC_ITERATE_STRONG,25,3,"%d cleanup iterations before strong branching"},
     44  {CBC_PRIORITY,26,1,"Setting priorities for objects %d to %d inclusive (out of %d)"},
    4445  {CBC_WARNING_STRONG,3008,1,"Strong branching is fixing too many variables, too expensively!"},
    4546  {CBC_DUMMY_END,999999,0,""}
  • trunk/CbcModel.cpp

    r82 r84  
    34793479  }
    34803480  if (priorities) {
    3481     if (ifObject)
     3481    int i0=0;
     3482    int i1=numberObjects_-1;
     3483    if (ifObject) {
    34823484      memcpy(priority_+numberIntegers_,priorities,
    34833485             (numberObjects_-numberIntegers_)*sizeof(int));
    3484     else
     3486      i0=numberIntegers_;
     3487    } else {
    34853488      memcpy(priority_,priorities,numberIntegers_*sizeof(int));
     3489      i1=numberIntegers_-1;
     3490    }
     3491    messageHandler()->message(CBC_PRIORITY,
     3492                              messages())
     3493                                << i0<<i1<<numberObjects_ << CoinMessageEol ;
    34863494  }
    34873495}
  • trunk/include/CbcMessage.hpp

    r48 r84  
    4747  CBC_CUTOFF_WARNING1,
    4848  CBC_ITERATE_STRONG,
     49  CBC_PRIORITY,
    4950  CBC_WARNING_STRONG,
    5051  CBC_DUMMY_END
Note: See TracChangeset for help on using the changeset viewer.