Ignore:
Timestamp:
Feb 13, 2008 3:52:57 PM (11 years ago)
Author:
forrest
Message:

add diving heuristics

File:
1 edited

Legend:

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

    r864 r871  
    16711671  /// Fill in useful estimates
    16721672  void pseudoShadow(double * down, double * up);
     1673  /** Return pseudo costs
     1674      If not all integers or not pseudo costs - returns all zero
     1675      Length of arrays are numberIntegers() and entries
     1676      correspond to integerVariable()[i]
     1677      User must allocate arrays before call
     1678  */
     1679  void fillPseudoCosts(double * downCosts, double * upCosts) const;
    16731680  /** Do heuristics at root.
    16741681      0 - don't delete
     
    17091716  /// Increment strong info
    17101717  void incrementStrongInfo(int numberTimes, int numberIterations,
    1711                            int numberFixed, bool ifInfeasible);
     1718                           int numberFixed, bool ifInfeasible);
    17121719  /// Says whether all dynamic integers
    1713   inline bool allDynamic () { return ((ownership_&0x40000000)!=0) ; }
     1720  inline bool allDynamic () const { return ((ownership_&0x40000000)!=0) ; }
    17141721  /// Create C++ lines to get to current state
    17151722  void generateCpp( FILE * fp,int options);
Note: See TracChangeset for help on using the changeset viewer.