Changeset 159 for trunk


Ignore:
Timestamp:
Aug 25, 2005 2:35:27 AM (15 years ago)
Author:
forrest
Message:

comments

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CbcModel.cpp

    r158 r159  
    15751575  numberNodes2_(0),
    15761576  numberIterations_(0),
    1577   status_(0),
     1577  status_(-1),
    15781578  numberIntegers_(0),
    15791579  numberRowsAtContinuous_(0),
     
    16621662  numberNodes2_(0),
    16631663  numberIterations_(0),
    1664   status_(0),
     1664  status_(-1),
    16651665  numberRowsAtContinuous_(0),
    16661666  maximumNumberCuts_(0),
  • trunk/include/CbcModel.hpp

    r154 r159  
    627627    { return numberNodes_;};
    628628    /** Final status of problem
    629    
    630       0 finished, 1 stopped, 2 difficulties
     629        Some of these can be found out by is...... functions
     630        -1 before branchAndBound
     631        0 finished - check isProvenOptimal or isProvenInfeasible to see if solution found
     632        (or check value of best solution)
     633        1 stopped - on maxnodes, maxsols, maxtime
     634        2 difficulties so run was abandoned
     635        (5 event user programmed event occurred)
    631636    */
    632637    inline int status() const
     
    11861191  //@}
    11871192  //---------------------------------------------------------------------------
    1188 
     1193  ///@name Specialized
     1194  //@{
     1195
     1196  /**
     1197      Set special options
     1198      0 bit (1) - check if cuts valid (if on debugger list)
     1199      1 bit (2) - use current basis to check integer solution (rather than all slack)
     1200      2 bit (4) - don't check integer solution
     1201  */
     1202  /// Set special options
     1203  inline void setSpecialOptions(int value)
     1204  { specialOptions_=value;};
     1205  /// Get special options
     1206  inline int specialOptions() const
     1207  { return specialOptions_;};
     1208  //@}
     1209  //---------------------------------------------------------------------------
    11891210
    11901211  ///@name Constructors and destructors etc
     
    13891410  /// Array marked whenever a solution is found if non-zero
    13901411  int * usedInSolution_;
    1391   /// 0 bit - check if cuts valid (if on list)
     1412  /**
     1413      0 bit (1) - check if cuts valid (if on debugger list)
     1414      1 bit (2) - use current basis to check integer solution (rather than all slack)
     1415      2 bit (4) - don't check integer solution
     1416  */
    13921417  int specialOptions_;
    13931418  /// User node comparison function
Note: See TracChangeset for help on using the changeset viewer.