Ignore:
Timestamp:
Nov 22, 2012 2:00:22 PM (8 years ago)
Author:
forrest
Message:

add random seed setting

File:
1 edited

Legend:

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

    r1802 r1813  
    17451745    inline int specialOptions() const {
    17461746        return specialOptions_;
     1747    }
     1748    /// Set random seed
     1749    inline void setRandomSeed(int value) {
     1750        randomSeed_ = value;
     1751    }
     1752    /// Get random seed
     1753    inline int getRandomSeed() const {
     1754        return randomSeed_;
    17471755    }
    17481756    /// Tell model to stop on event
     
    26502658    /// Maximum number of rows
    26512659    int maximumRows_;
     2660    /// Random seed
     2661    int randomSeed_;
    26522662    /// Current depth
    26532663    int currentDepth_;
Note: See TracChangeset for help on using the changeset viewer.