Ignore:
Timestamp:
Oct 9, 2006 4:19:31 PM (14 years ago)
Author:
forrest
Message:

for local tree search and feasibility pump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcHeuristicFPump.hpp

    r439 r441  
    4343      It may make sense for user to call this outside Branch and Cut to
    4444      get solution.  Or normally is just at root node.
     45
     46      * new meanings for when_ - on first try then set back to 1
     47        11 - at end fix all integers at same bound throughout
     48        12 - also fix all integers staying at same internal integral value throughout
     49        13 - also fix all continuous variables staying at same bound throughout
     50        14 - also fix all continuous variables staying at same internal value throughout
     51        15 - as 13 but no internal integers
    4552  */
    4653  virtual int solution(double & objectiveValue,
     
    8289  inline int maximumRetries() const
    8390  { return maximumRetries_;};
     91  /**  Set use of multiple solutions and solves
     92       0 - do not reuse solves, do not accumulate integer solutions for local search
     93       1 - do not reuse solves, accumulate integer solutions for local search
     94       2 - reuse solves, do not accumulate integer solutions for local search
     95       3 - reuse solves, accumulate integer solutions for local search
     96  */
     97  inline void setAccumulate(int value)
     98  { accumulate_=value;};
     99  /// Get accumulation option
     100  inline int accumulate() const
     101  { return accumulate_;};
    84102
    85103protected:
     
    105123  */
    106124  int maximumRetries_;
     125  /**  Set use of multiple solutions and solves
     126       0 - do not reuse solves, do not accumulate integer solutions for local search
     127       1 - do not reuse solves, accumulate integer solutions for local search
     128       2 - reuse solves, do not accumulate integer solutions for local search
     129       3 - reuse solves, accumulate integer solutions for local search
     130  */
     131  int accumulate_;
    107132  /// If true round to expensive
    108133  bool roundExpensive_;
Note: See TracChangeset for help on using the changeset viewer.