[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] different solutions for same code

From: xypron
Subject: Re: [Help-glpk] different solutions for same code
Date: Sun, 18 Oct 2009 10:34:28 -0700 (PDT)

Looking at
the OSI interface to GLPK does not match the current API. This has been
adressed in
but the ticket has not been resolved since 2008. You might enquire COIN-OR
on this.

You could patch OsiGlpkSolverInterface.cpp for your purpose.

You can directly interface your C++ code and GLPK using the GLPK API
described in
doc/glpk.pdf of the source distribution. The coding of the standalone solver
is in src/glpapi19.c

Best regards


RenB wrote:
> I also tried to use Glpk
> 1) as a standalone solver from the command line, and
> 2) as a library called from my C++ code (after modelling an ILP with
> FlopCpp and using Osi), 
> ...
> So, my question is: is there a way of creating an ILP model with
> FlopCpp, and then choosing algorithmic options (cuts, presolve, branch,
> etc.) and calling Glpk from my C++ code as it would be from the
> command line? 

View this message in context:
Sent from the Gnu - GLPK - Help mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]