[Lemon-user] Fwd: Re: Enabling GLPK library after LEMON had been installed

Kovács Péter kpeter at inf.elte.hu
Mon Aug 1 09:35:41 CEST 2011



-------- Original Message --------
Subject: 	Re: [Lemon-user] Enabling GLPK library after LEMON had been 
installed
Date: 	Fri, 29 Jul 2011 18:33:31 +0100
From: 	Cherif Mouaouia Bouzid <cherifmouaouia.bouzid at gmail.com>
To: 	Kovács Péter <kpeter at inf.elte.hu>



Hello,

  > However, you may try to modfiy this include file manually by adding
these three lines:

  > #define LEMON_HAVE_LP 1
  > #define LEMON_HAVE_MIP 1
  > #define LEMON_HAVE_GLPK 1

  > I think it will enable GLPK in LEMON correctly, but I'm not entirely
sure.

I did it and I get the following error messages :

/tmp/ccUBRCZm.o: In function `main':
mip_demo.cc:(.text+0x20): undefined reference to `lemon::GlpkMip::GlpkMip()'
/tmp/ccUBRCZm.o: In function `lemon::GlpkMip::~GlpkMip()':
mip_demo.cc:(.text._ZN5lemon7GlpkMipD1Ev[lemon::GlpkMip::~GlpkMip()]+0x23):
undefined reference to `vtable for lemon::GlpkMip'
mip_demo.cc:(.text._ZN5lemon7GlpkMipD1Ev[lemon::GlpkMip::~GlpkMip()]+0x37):
undefined reference to `vtable for lemon::GlpkMip'
....

  > Reinstalling LEMON surely solves the problem.

How can I properly reinstall LEMON ? (I'm a newbie indeed :])

Regards,

Cherif






More information about the Lemon-user mailing list