COIN-OR::LEMON - Graph Library

Changeset 1049:a07b6b27fe69 in lemon for lemon


Ignore:
Timestamp:
03/15/11 19:54:11 (13 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Change the default scaling factor in CostScaling? (#417)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cost_scaling.h

    r1048 r1049  
    488488    /// \param method The internal method that will be used in the
    489489    /// algorithm. For more information, see \ref Method.
    490     /// \param factor The cost scaling factor. It must be larger than one.
     490    /// \param factor The cost scaling factor. It must be at least two.
    491491    ///
    492492    /// \return \c INFEASIBLE if no feasible flow exists,
     
    502502    /// \see ProblemType, Method
    503503    /// \see resetParams(), reset()
    504     ProblemType run(Method method = PARTIAL_AUGMENT, int factor = 8) {
     504    ProblemType run(Method method = PARTIAL_AUGMENT, int factor = 16) {
     505      LEMON_ASSERT(factor >= 2, "The scaling factor must be at least 2");
    505506      _alpha = factor;
    506507      ProblemType pt = init();
Note: See TracChangeset for help on using the changeset viewer.