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
[email protected]





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

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to