help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Compile a model and glpk into one .dll file


From: Nigel Galloway
Subject: Re: [Help-glpk] Compile a model and glpk into one .dll file
Date: Sun, 08 Sep 2013 06:26:30 -0700

I assume you have compiled glpk as a dll and your model as an application. To add your functions to the glpk dll you need to remove the main function from you application and add the source code for the functions you want in the glpk dll to the glpk dll project. you then need to either modify glpk.h to include your functions, or create you own .h and include that in glpk.h. Then recompile the glpk dll project and you functions will be included and can be called from another application.
 
--
Nigel Galloway
address@hidden
 
 
 
On Fri, Sep 6, 2013, at 01:59 PM, Celine wrote:
Hi Nigel,
 
I am trying to compile my optimization model into a .dll file. The model is built using glpk callable library. Right now, I can create .dll file in Visual Studio C++ and I can run a optimization model in Visual Studio C++ using callable library. But I have no idea how to combine them, generate a .dll file of an optimization model. 
 
If my problem is out of your region of help, I apologize. But please let me know your answer, if you know it. Thank you so much in advance!!!
 
Sincerely,
 
Celine
-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own

reply via email to

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