Updated to latest GLPK which has a new API. Recompiled Windows builds with VC2015.#2
Updated to latest GLPK which has a new API. Recompiled Windows builds with VC2015.#2blegat merged 7 commits intoblegat:masterfrom
Conversation
|
Thanks a lot for this huge contribution :) |
|
lpx.c and lpx.h are taken from the examples directory of the latest version of GLPK (4.60), with minimal modifications (just commenting out the main function). They act as an intermediary between your code which uses the old API and the new API. However, please do not merge this pull request yet, as I have subsequently noticed two problems. You are using GPL v2 but GLPK is on GPL v3, so to include those two files, the license also needs to be bumped. Secondly, the Windows builds have a missing dependency. I'll fix the pull request... |
|
The previous two commits fix the aforementioned problems. The result passes YALMIP's tests, and also passes glpktest1.m . However, the second of the two tests in glpktest2.m currently crashes MATLAB. From debugging, this seems to be caused by a failure of the assert on line 175 of lpx.c, which has the following associated comment: |
|
Remaining problem fixed by switching to the lpx_create/delete_prob calls. Passes both test scripts on win64 and win32. Also still passes YALMIP tests. Should be OK to merge now if you're happy with these changes. You might want to rebuild for Mac and Linux though. |
|
Excellent ! Thanks a lot :) I will open issues for Linux and Mac builds. |
|
Your build are with GLPK 4.32 ? |
|
4.60 |
No description provided.