COIN-OR::LEMON - Graph Library

Changeset 1033:9fff45a59e92 in lemon-0.x for src/work/marci/lp


Ignore:
Timestamp:
12/09/04 11:45:32 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1423
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/lp/min_cost_gen_flow.h

    r1031 r1033  
    122122        flow.set(e, translated_flow[ewww]+lcapacity[e]);
    123123      }
    124       return (expected>=preflow.flowValue());
     124      return (preflow.flowValue()>=expected);
    125125    }
    126126    // for nonnegative costs
     
    209209                 min_cost_flow.getFlow()[ewww]);
    210210      }
    211       return (expected>=min_cost_flow.flowValue());
     211      return (min_cost_flow.flowValue()>=expected);
    212212    }
    213213    void runByLP() {
Note: See TracChangeset for help on using the changeset viewer.