|
From: | design |
Subject: | [Help-glpk] Embedding GLPK to user application |
Date: | Sun, 26 Oct 2008 11:15:19 +0300 |
Hello! I try to embed #8220;GLPK-solver #8221; to user application. The main problem is the application #8217;s #8220;hanging up #8221; during solution process. User what to see solving progress and view best feasible solution during solving process in his GUI application. With #8220;lp_solve #8221; 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 #8220;GLPK-solver #8221;? Are you plan to enhance the DLL-interface of #8220;GLPK #8221;?
Hello! 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”?
Are you plan to enhance the DLL-interface of “GLPK”? |
[Prev in Thread] | Current Thread | [Next in Thread] |