help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Embedding GLPK to user application


From: xypron
Subject: Re: [Help-glpk] Embedding GLPK to user application
Date: Sun, 26 Oct 2008 02:34:22 -0700 (PDT)

Hello!

the main code of glpsol is in glplpx14.c (in release glpk-4.32).

I suggest you strip down a copy of function lpx_main for your needs and put
the code for the callback here.

Best regards

Xypron


design-7 wrote:
> 
> I try to embed  'GLPK-solver' 
> to user application. The main problem is the application's  hanging
> up during solution process. User what to see solving progress and view
> best
> feasible solution during solving process in his GUI application. With 
> 'lp_solve' this problem solved by using callback
> functions. Callbacks raises on each simplex iteration and on each
> improving solution
> found. Programmer may put his code to callback functions to iteration with
> user
> (handling mouse, keyboard and windows events) and fetching   viewing
> feasible
> solutions. If callback function return false then solving process is
> halted. So,
> programmer may supply user by possibilities stop solving process in any
> moment
> of time.
> 
> How this can be implemented with  'GLPK-solver'?
> 

-- 
View this message in context: 
http://www.nabble.com/Embedding-GLPK-to-user-application-tp20171194p20171647.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.





reply via email to

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