[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I suggest a better syntax error handling
From: |
Andrew Makhorin |
Subject: |
Re: I suggest a better syntax error handling |
Date: |
Sat, 08 Apr 2023 19:47:57 +0300 |
Hi João,
Thank you for your bug report.
I hope to fix that bug in a next release of the package.
Andrew Makhorin
On Fri, 2023-04-07 at 16:34 +0200, João Flávio de Freitas Almeida wrote:
> Dear Andrew,
>
> I produced a modelling error, but GLPK did not produce a correct
> syntax error handling. The error was the following:
>
> var s{s in E};
>
> Instead of outputting something such as "the index can not be the same
> string as the variable", it produced the following:
>
> GLPSOL--GLPK LP/MIP Solver 5.0
> Parameter(s) specified in the command line:
> -m .\ns1975.mod --check
> Reading model section from .\ns1975.mod...
> Assertion failed: avl_get_node_type(node) == A_INDEX
> Error detected in file ..\src\mpl\mpl1.c at line 1891
>
> Best regards,
>
> João Flávio de Freitas Almeida
> Adjunct Professor
> Department of Production Engineering
> Federal University of Minas Gerais
> 30.310-290 Belo Horizonte MG Brazil
> Tel: +55 31 3409-3476
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: I suggest a better syntax error handling,
Andrew Makhorin <=