COIN-OR::LEMON - Graph Library

Opened 11 years ago

Closed 11 years ago

#479 closed defect (fixed)

Default MIP solver typdef broken with GLPK backend

Reported by: Gabor Retvari Owned by: Alpar Juttner
Priority: major Milestone: LEMON 1.4 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description

The default MIP solver typedef (lemon::Mip) seems to be broken with GLPK in current head.

The reason seems to be this typo in lp.h, introduced in 1233:fc3854d936f7:

#if LEMON_DEFAULT_MIP == GLPK
  typedef GlpkLp Mip;
...

The trivial fix removes all compile errors:

#if LEMON_DEFAULT_MIP == GLPK
  typedef GlpkMip Mip;
...

Change History (1)

comment:1 Changed 11 years ago by Alpar Juttner

Milestone: LEMON 1.4 release
Resolution: fixed
Status: newclosed

Thanks for reporting the issue.

It is now fixed in [62dba6c90f35], along with another related fix in the cmake config and also with unit tests for the default LP and MIP.

Note: See TracTickets for help on using tickets.