Ignore:
File:
1 edited

Legend:

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

    r1902 r2093  
    6262                         double * newSolution);
    6363    /// inner part of dive
    64   int solution(double & objectiveValue, int & numberNodes,
     64    int solution(double & objectiveValue, int & numberNodes,
    6565                 int & numberCuts, OsiRowCut ** cuts,
    6666                 CbcSubProblem ** & nodes,
     
    7575    /// Validate model i.e. sets when_ to 0 if necessary (may be NULL)
    7676    virtual void validate();
     77
     78    /// Sets priorities if any
     79    void setPriorities();
    7780
    7881    /// Select candidate binary variables for fixing
     
    154157    double * upArray_;
    155158
     159    /// Array of priorities
     160    typedef struct {
     161      unsigned int direction:3; //  0 bit off, 1 bit (0 down first, 1 up first) 2 bit non zero don't try other way
     162      unsigned int priority:29;
     163    } PriorityType;
     164    PriorityType * priority_;
    156165    // Indexes of binary variables with 0 objective coefficient
    157166    // and in variable bound constraints
     
    164173    double percentageToFix_;
    165174
     175    // Maximum time allowed
     176    double maxTime_;
     177
     178    // Small objective (i.e. treat zero objective as this)
     179    double smallObjective_;
     180
    166181    // Maximum number of major iterations
    167182    int maxIterations_;
     
    173188    int maxSimplexIterationsAtRoot_;
    174189
    175     // Maximum time allowed
    176     double maxTime_;
    177 
    178190};
    179191#endif
Note: See TracChangeset for help on using the changeset viewer.