COIN-OR::LEMON - Graph Library

Changeset 2345:bfcaad2b84e8 in lemon-0.x for test/lp_test.cc


Ignore:
Timestamp:
01/12/07 17:29:06 (17 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3137
Message:

One important thing only: equality-type constraint can now be added to an lp. The prettyPrint functions are not too pretty yet, I accept.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/lp_test.cc

    r2328 r2345  
    195195    //    std::cout<<e[p1]<<e[p2]<<e[p3]<<std::endl;
    196196    check(e.find(p2)==e.end(), buf.str());
    197 
     197   
    198198     
    199199
    200200
    201201    e=((p1+p2)+(p1-0.99*p2));
     202    //e.prettyPrint(std::cout);
     203    //(e<=2).prettyPrint(std::cout);
    202204    double tolerance=0.001;
    203205    e.simplify(tolerance);
Note: See TracChangeset for help on using the changeset viewer.