COIN-OR::LEMON - Graph Library

Changeset 821:072ec8120958 in lemon-1.2 for lemon/cost_scaling.h


Ignore:
Timestamp:
11/13/09 00:39:28 (10 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Rebase:
63666432363933386438383538323961626233656333396265363765343030653336623534326538
Message:

Small bug fixes (#180)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cost_scaling.h

    r820 r821  
    713713    // Initialize the algorithm
    714714    ProblemType init() {
    715       if (_res_node_num == 0) return INFEASIBLE;
     715      if (_res_node_num <= 1) return INFEASIBLE;
    716716
    717717      // Check the sum of supply values
Note: See TracChangeset for help on using the changeset viewer.