COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
05/06/04 17:47:42 (21 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@727
Message:

Method checkSolution() added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/athos/mincostflows_test.cc

    r551 r554  
    7272  check(  surb_test.run(s,t,k) == 2 && surb_test.totalLength() == 46,"Two paths, total length should be 46");
    7373
     74  check(surb_test.checkSolution(), "Is the primal-dual solution pair really optimal?");
     75
    7476  k=1;
    7577  check(  surb_test.run(s,t,k) == 1 && surb_test.totalLength() == 19,"One path, total length should be 19");
     78
     79  check(surb_test.checkSolution(), "Is the primal-dual solution pair really optimal?");
    7680 
    7781  //cout << surb_test.run(s,t,k) << surb_test.totalLength()<<endl;
Note: See TracChangeset for help on using the changeset viewer.