Ignore:
File:
1 edited

Legend:

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

    r1883 r2094  
    170170        16 bit - needs new solution to run
    171171        1024 bit - stop all heuristics on max time
     172        65536 bit and above used for temporary communication
    172173    */
    173174    inline int switches() const {
     
    332333
    333334    /// How often to do (code can change)
    334     int howOften_;
     335    mutable int howOften_;
    335336    /// How much to increase how often
    336337    double decayFactor_;
     
    459460        seed_ = value;
    460461    }
     462    /** Check whether the heuristic should run at all
     463        0 - before cuts at root node (or from doHeuristics)
     464        1 - during cuts at root
     465        2 - after root node cuts
     466        3 - after cuts at other nodes
     467        4 - during cuts at other nodes
     468            8 added if previous heuristic in loop found solution
     469    */
     470    virtual bool shouldHeurRun(int whereFrom);
    461471
    462472protected:
Note: See TracChangeset for help on using the changeset viewer.