Re: Try experimental GMPL extensions online

Domingo Alvarez Duarte <[email protected]> Mon, 21 Sep 2020 11:53:19 +0200
Newsgroups gmane.comp.gnu.glpk
Message-ID <[email protected]>
Hello Karl !

Thank you for reporting it !

It was an assertion with side effects that I missed on my previous 
review, here is the fix 
https://github.com/mingodad/GLPK/commit/0f925bfc17540e771c1bbcd83f233f8fdc772752 
, I also updated the online https://meimporta.eu/myglpk-ext.

One thing still reamain to be fixed, I noticed that the online glpsol 
solves the hashi.mod a lot faster with the "--cuts" parameter but on my 
branch https://github.com/mingodad/GLPK/tree/local-set-param the native 
glpsol is not as fast the online version (it's a lot slower).

Cheers !

On 20/9/20 12:55, Karl Ove Hufthammer wrote:
> Domingo Alvarez Duarte skreiv 05.09.2020 13:24:
>> After looking around and with the help of the author of 
>> https://www.strandmark.net/wasm/glpk.html I managed to compile 
>> https://github.com/mingodad/GLPK/tree/local-set-param to wasm and 
>> make it available here https://meimporta.eu/myglpk-ext for anyone to 
>> experiment with the extensions I made to GMPL/glpsol and if possible 
>> give feedback/suggestion/comment.
>
> Thanks for making this available online. I guess the following is not 
> specifically related to your extensions, but FYI if I run the 
> ‘hashi-if.mod’ example and add ‘--cuts’ to the command-line argument, 
> glpsol crashes:
>
> Cuts on level 0: gmi = 10; mir = 28; cov = 33; clq = 3;
> glp_eval_tab_row: basis factorization does not exist
> Error detected in file 
> /home/mingo/dev/lp/GLPK-dad-master-if/src/draft/glpapi12.c at line 811
> undefined
> exception thrown: RuntimeError: abort(undefined). Build with -s 
> ASSERTIONS=1 for more info.,RuntimeError: abort(undefined). Build with 
> -s ASSERTIONS=1 for more info.
>
>