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/CbcBranchToFixLots.hpp

    r1357 r1389  
    4848    /** Does a lot of the work,
    4949        Returns 0 if no good, 1 if dj, 2 if clean, 3 if both
     50        FIXME: should use enum or equivalent to make these numbers clearer.
    5051    */
    5152    int shallWe() const;
    5253
    53     /// Infeasibility - large is 0.5
     54    /// Infeasibility for an integer variable - large is 0.5, but also can be infinity when known infeasible.
    5455    virtual double infeasibility(const OsiBranchingInformation * info,
    5556                                 int &preferredWay) const;
Note: See TracChangeset for help on using the changeset viewer.