Ignore:
Timestamp:
Mar 3, 2008 11:15:00 PM (12 years ago)
Author:
ladanyi
Message:

Added a new way of determinig when to run a heuristic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/heur/Cbc/src/CbcBranchLotsize.hpp

    r765 r886  
    202202  virtual void print();
    203203
     204  /** Return the type (an integer identifier) of \c this */
     205  virtual int type() const { return 300; }
     206
     207  /** Compare the \c this with \c brObj. \c this and \c brObj must be os the
     208      same type and must have the same original object, but they may have
     209      different feasible regions.
     210      Return the appropriate CbcRangeCompare value (first argument being the
     211      sub/superset if that's the case). In case of overlap (and if \c
     212      replaceIfOverlap is true) replace the current branching object with one
     213      whose feasible region is the overlap.
     214   */
     215  virtual CbcRangeCompare compareBranchingObject
     216  (const CbcBranchingObject* brObj, const bool replaceIfOverlap = false);
     217
    204218protected:
    205219  /// Lower [0] and upper [1] bounds for the down arm (way_ = -1)
Note: See TracChangeset for help on using the changeset viewer.