Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

GLPK integration

by jo37 (Deacon)
on Feb 16, 2024 at 16:25 UTC ( [id://11157732]=perlquestion: print w/replies, xml ) Need Help??

jo37 has asked for the wisdom of the Perl Monks concerning the following question:

Hello nuns and monks!

Seemingly there is no Perl module that provides an interface to the GNU Linear Programming Kit (GLPK). Actually, its usage is not that easy as there lots of functions that have to be combined in the proper way. However, the Octave project managed to design an universal interface to GLPK in a single function.

So I thought about porting this interface to Perl and finally managed to implement it. The Octave implementation was a great help in this task as the core function that orchestrates the GLPK functions could be reused as-is. You can find my first attempt at GitHub.

I'd be glad to hear some opinions about this module, and I have a question: What is the policy for publishing a module on CPAN into an existing namespace hierarchy? I named the module PDL::Opt::GLPK, but I'm not sure if I need some consent to publish it.

Edit: Added GLPK link

Greetings,
🐻

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Replies are listed 'Best First'.
Re: GLPK integration
by hippo (Bishop) on Feb 16, 2024 at 16:43 UTC
    What is the policy for publishing a module on CPAN into an existing namespace hierarchy?

    I have done this before and my approach has been to contact the maintainer of the immediate parent in the hierarchy to solicit their views prior to publishing as it seems only polite. It has proven beneficial too in that they have suggested some changes to the proposed names for future-proofing, etc. I therefore recommend this approach to others thinking of doing the same.


    🦛

Re: GLPK integration
by jo37 (Deacon) on Feb 22, 2024 at 12:10 UTC

    Published PDL::Opt::GLPK.

    Greetings,
    🐻

    $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$
      Why not make a post here intended as "Perl News"? I think it's quite a big deal!
Re: GLPK integration
by etj (Deacon) on Feb 20, 2024 at 12:52 UTC
    No consent is needed in PDL-land, but asking for thoughts is probably always a good idea.

    jo37 opened a GitHub issue last year doing exactly that, and I've followed up on it with thoughts based on this implementation: https://github.com/PDLPorters/pdl/issues/437

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11157732]
Approved by philipbailey
Front-paged by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-04-25 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found