Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.8/Cbc/src/CbcCutGenerator.hpp

    r1675 r1883  
    166166        return depthCutGeneratorInSub_;
    167167    }
     168    /// Set maximum number of times to enter
     169    inline void setMaximumTries(int value)
     170    { maximumTries_ = value;}
     171    /// Get maximum number of times to enter
     172    inline int maximumTries() const
     173    { return maximumTries_;}
    168174
    169175    /// Get switches (for debug)
     
    360366        return numberShortCutsAtRoot_;
    361367    }
     368    inline void setNumberShortCutsAtRoot(int value) {
     369        numberShortCutsAtRoot_ = value;
     370    }
    362371    /// Set model
    363372    inline void setModel(CbcModel * model) {
     
    382391        switches_ |= yesNo ? 256 : 0;
    383392    }
     393    /// Add in statistics from other
     394    void addStatistics(const CbcCutGenerator * other);
     395    /// Scale back statistics by factor
     396    void scaleBackStatistics(int factor);
    384397    //@}
    385398
     
    444457    /// Switches - see gets and sets
    445458    int switches_;
     459    /// Maximum number of times to enter
     460    int maximumTries_;
    446461};
    447462
Note: See TracChangeset for help on using the changeset viewer.