Ignore:
Timestamp:
Dec 10, 2009 10:17:35 AM (10 years ago)
Author:
caphillSNL
Message:

Start at adding documentation, removing magic numbers, removing dead code, etc.
Added an enum for type in classes derived from CbCBranchingObject. It's safer,
handier for debugging (inspection in a debugger), and clearly shows the relationship
between the dozen or so special numbers. Numbers are the same as they were before to
ensure no changes in correctness.

Location:
branches/sandbox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/sandbox

    • Property svn:externals
      •  

        old new  
        55ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.5
        66Data/Sample       https://projects.coin-or.org/svn/Data/stable/1.0/Sample
         7Data/Miplib       https://projects.coin-or.org/svn/Data/stable/1.0/miplib3
        78CoinUtils         https://projects.coin-or.org/svn/CoinUtils/stable/2.6/CoinUtils
        89Cgl               https://projects.coin-or.org/svn/Cgl/branches/sandbox/Cgl
  • branches/sandbox/Cbc/src/CbcSimpleInteger.hpp

    r1357 r1389  
    121121
    122122    /** Return the type (an integer identifier) of \c this */
    123     virtual int type() const {
    124         return 100;
     123    virtual CbcBranchObjType type() const {
     124        return SimpleIntegerBranchObj;
    125125    }
    126126
Note: See TracChangeset for help on using the changeset viewer.