COIN-OR::LEMON - Graph Library

Custom Query (545 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 545)

Ticket Resolution Summary Owner Reporter
#198 wontfix Building only the tutorial requires LEMON to be installed Alpar Juttner Akos Ladanyi
Description

Currently in the tutorial tree the configure script calls pkg-config. In case you do not have LEMON installed, you will get error messages when running configure.

The attached patch modifies Makefile.in and configure so that the Makefile will call pkg-config and only in case the demo programs are built (and not when the documentation is generated).

#199 fixed std::isnan() is not available with all compiler Alpar Juttner Alpar Juttner
Description

std::isnan() is not provided by some compiler, such as VS2005 and icc-10.1.

We should provide an own implementation like this:

    inline bool isnan(double v)
    {
      return v!=v;
    }

Of course, this function can optionally use std::isnan() if it is available.

#202 duplicate faster add row operation for lp interface Alpar Juttner Tapolcai János
Description

A new virtual function is requested for lp_base.h:

virtual int _addRow(ConstRowIterator?, ConstRowIterator?, Value, Value) =0;

in this case replace this function in lp_base.h

Row addRow(Value l,const Expr &e, Value u) {

Row r=addRow(); row(r,l,e,u); return r;

}

by

Row addRow(Value l,const Expr &e, Value u) {

Row r;

e.simplify(); r.id = _addRow(ConstRowIterator?(e.begin(), *this),

ConstRowIterator?(e.end(), *this),l-e.constComp(),u-e.constComp() );

return r;

}

and also this function:

Row addRow(const Constr &c) {

Row r=addRow(); row(r,c); return r;

}

by

Row addRow(const Constr &c) {

Row r=addRow(c.lowerBounded()?c.lowerBound():-INF,

c.expr(), c.upperBounded()?c.upperBound():INF);

return r;

}

also int _addRow(ConstRowIterator?, ConstRowIterator?, Value, Value) must be implemented for each solver. see the attached files

Én CBC-vel használtam a lemon-t, ott ez a trükk sokat gyorsított (bár a cbc-s interface-t magam implementáltam, és lehet hogy ott bénáztam el valamit).

Note: See TracQuery for help on using queries.