COIN-OR::LEMON - Graph Library

Custom Query (545 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (79 - 81 of 545)

Ticket Resolution Summary Owner Reporter
#419 done Various improvements and bugfixes in the LP/MIP interface Alpar Juttner Alpar Juttner
#428 fixed lemon.pc.cmake Alpar Juttner Alpar Juttner
Description

lemon/lemon.pc.cmake seems to be missing from the latest release tarballs (versions 1.1.4 and 1.2.2). This makes it impossible to build with CMAKE

#430 fixed Bug in LpBase::Constr Alpar Juttner Alpar Juttner
Description

From: Gábor Rétvári

Dear all,

Based on my understanding, the below should work:

#include <lemon/lp.h>

using namespace lemon;

int main(){
  Lp::Col v;
  Lp::Constr c = v >= -3;
  c = c <= 4;
  return 0;
}

and it should have the same effect as

c = -3 <= v <= 4

However, currently it fails with an assertion:

/export/devel/lemon/lemon/lemon/lp_base.h:1708: lemon::LpBase::Constr 
lemon::operator<=(const lemon::LpBase::Constr&, const Value&): Wrong LP 
constraint (assertion 'isNaN(tmp.upperBound())' failed)

The attached patch fixes it for me.

Best regards, Gabor

Note: See TracQuery for help on using queries.