Ignore:
Timestamp:
Apr 19, 2009 10:08:30 AM (11 years ago)
Author:
forrest
Message:

changes to use heuristics with SOS etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcBranchBase.hpp

    r1121 r1148  
    214214  inline int id() const
    215215  { return id_;}
     216 
     217  /** Set identifier (normally column number in matrix)
     218      but 1000000000 to 1100000000 means optional branching object
     219      i.e. code would work without it */
     220  inline void setId(int value)
     221  { id_ = value;}
     222 
     223  /** Return true if optional branching object
     224      i.e. code would work without it */
     225  inline bool optionalObject() const
     226  { return (id_ >= 1000000000 && id_ < 1100000000);}
    216227 
    217228  /// Get position in object_ list
Note: See TracChangeset for help on using the changeset viewer.