in reply to Re: GLPK integration
in thread GLPK integration
Took a look at the sources of PDL::Opt::GLPK once again. There is glpk_aio.c, which is the mentioned copy from the Octave sources. This is the wrapper I utilized to link PDL to GLPK. It has a single C function that orchestrates the GLPK API calls and which is the interface that PDL::Opt::GLPK::glpk actually calls. In PDL::Opt::GLPK, the XS code to access it is generated from PD. You might use it in self-written XS code as well.
At least you might use it as a blueprint for your own code.
Greetings,
🐻
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: GLPK integration
by bliako (Abbot) on Jan 17, 2026 at 15:28 UTC | |
by jo37 (Curate) on Jan 17, 2026 at 20:35 UTC | |
by bliako (Abbot) on Jan 19, 2026 at 14:17 UTC | |
by jo37 (Curate) on Jan 19, 2026 at 19:31 UTC | |
by bliako (Abbot) on Jan 23, 2026 at 17:25 UTC |