COIN-OR::LEMON - Graph Library

Changeset 1118:ce1533650f7d in lemon-main for test/min_cost_flow_test.cc


Ignore:
Timestamp:
07/07/14 15:40:12 (10 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Parents:
1116:07cd9a2d20e0 (diff), 1117:b40c2bbb8da5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Phase:
public
Message:

Merge bugfix #474

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/min_cost_flow_test.cc

    r1092 r1118  
    396396  checkMcf(mcf3, mcf3.run(param), neg2_gr, neg2_l, neg2_u, neg2_c, neg2_s,
    397397           mcf3.OPTIMAL, true,     -300, test_str + "-18", GEQ);
     398
     399  // Tests for empty graph
     400  Digraph gr0;
     401  MCF mcf0(gr0);
     402  mcf0.run(param);
     403  check(mcf0.totalCost() == 0, "Wrong total cost"); 
    398404}
    399405
  • test/min_cost_flow_test.cc

    r1117 r1118  
    33 * This file is a part of LEMON, a generic C++ optimization library.
    44 *
    5  * Copyright (C) 2003-2010
     5 * Copyright (C) 2003-2013
    66 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    77 * (Egervary Research Group on Combinatorial Optimization, EGRES).
Note: See TracChangeset for help on using the changeset viewer.