COIN-OR::LEMON - Graph Library

Custom Query (545 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (94 - 96 of 545)

Ticket Resolution Summary Owner Reporter
#453 fixed Compilation warnings with GCC 4.7 Alpar Juttner Alpar Juttner
Description

GCC 4.7 reports a couple of

variable ‘x’ set but not used [-Werror=unused-but-set-variable]

warnings on all active branches.

#457 done File export functionality for the LP interface Alpar Juttner Alpar Juttner
Description

The attached solution implements a simple

write(std::string fname, std::string format);

member function, where fname is a filename and format is a file format name. The backends must reimplement the corresponding _write(...) virtual function. If the format is not supported by the backend an UnsupportedFormatError exception is thrown.

Currently only two backends are implemented.

  • CplexBase supports saving in MPS, LP and SOL formats (this latter saves the solution).
  • GlpkBase supports MPS and LP.
#458 duplicate Invalid use of unqualified lookup Alpar Juttner Krzysztof Ciebiera
Description

I was trying to compile my code with clang and gcc.4.7.2 and it didn't work. I have found solution to my problems at http://clang.llvm.org/compatibility.html#dep_lookup_bases

I didn't read C++ specification, but since it doesn't work in both gcc and clang maybe they have the point.

So there are at least two places in lemon code where this-> keyword is missing. In /include/lemon/bits/edge_set_extender.h (probably more). Patch that fixed my problem is following:

526c526
<       return e.direction ? this->u(e) : this->v(e);
---
>       return e.direction ? u(e) : v(e);
532c532
<       return e.direction ? this->v(e) : this->u(e);
---
>       return e.direction ? v(e) : u(e);
Note: See TracQuery for help on using queries.