Ignore:
Timestamp:
Jun 17, 2008 3:48:28 AM (11 years ago)
Author:
forrest
Message:

random number generator to CbcModel? and allow cut pruning on size

File:
1 edited

Legend:

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

    r961 r983  
    17451745  inline CglTreeProbingInfo * probingInfo() const
    17461746  { return probingInfo_;}
     1747  /// Thread specific random number generator
     1748  inline CoinThreadRandom * randomNumberGenerator()
     1749  { return &randomNumberGenerator_;}
    17471750  /// Set the number of iterations done in strong branching.
    17481751  inline void setNumberStrongIterations(int number)
     
    17511754  inline int numberStrongIterations() const
    17521755  { return numberStrongIterations_;}
     1756  /// Get maximum number of iterations (designed to be used in heuristics)
     1757  inline int maximumNumberIterations() const
     1758  { return maximumNumberIterations_;}
     1759  /// Set maximum number of iterations (designed to be used in heuristics)
     1760  inline void setMaximumNumberIterations(int value)
     1761  { maximumNumberIterations_ = value;}
    17531762# ifdef COIN_HAS_CLP
    17541763  /// Set depth for fast nodes
     
    21162125  /// Current depth
    21172126  int currentDepth_;
     2127  /// Thread specific random number generator
     2128  mutable CoinThreadRandom randomNumberGenerator_;
    21182129  /// Work basis for temporary use
    21192130  CoinWarmStartBasis workingBasis_;
     
    21612172  /// Whether to force a resolve after takeOffCuts
    21622173  bool resolveAfterTakeOffCuts_;
     2174  /// Maximum number of iterations (designed to be used in heuristics)
     2175  int maximumNumberIterations_;
    21632176#if NEW_UPDATE_OBJECT>1
    21642177  /// Number of outstanding update information items
Note: See TracChangeset for help on using the changeset viewer.