coin-or / OBOE

OBOE (Oracle Based Optimization Engine) is an open source software for general convex optimization.
Other
0 stars 2 forks source link

glpk support #11

Open svigerske opened 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: axjiang

Original creation time: 2010-06-28 11:13:05

Assignee: somebody

Version:

  1. It wasn't clear which configuration options are required to compile in GLPK support. The README file talks about --with-glpk, but then configure --help talks about --with-glpk-incdir and --with-glpk-lib. I ended up using both approaches and it seems to compile.

  2. However, at run time it still complains that glpk is not supported. This seems to be due to the following: LocSet.C is only checking for OBOE_HAS_GLPK, on the other hand only COIN_HAS_GLPK got defined in config.h. As a workaround, I added definition for OBOE_HAS_GLPK to config.h and it worked. Should LocSet.C be checking for COIN_HAS_GLPK as well?

svigerske commented 5 years ago

Comment by @nsawhney68 created at 2010-06-28 12:19:33

Thank you for pointing out the problem. This is caused my inconsistency in the code when it was moved to COIN-OR repository. Your guess is correct and the code should either have COIN_HAS_GLPK or OBOE_HAS_GLPK but not both.

I will update the code and the README shortly.

svigerske commented 5 years ago

Comment by @nsawhney68 created at 2010-06-28 12:19:33

Changing assignee from somebody to @nsawhney68.

svigerske commented 5 years ago

Comment by @nsawhney68 created at 2010-06-28 12:19:33

Changing status from new to assigned.