Re: [Bug-glpk] Syntax error: display {1..10};

2015-08-05 Thread Heinrich Schuchardt
Hello Andrew, I understand what the coding is doing, but if I strictly follow the documentation, the following is true: {1..10} is a legal format both for a domain as well as for an item. As the domain is optional and item is not optional it can only be an item if it is the only term following

Re: [Bug-glpk] Syntax error: display {1..10};

2015-08-04 Thread Andrew Makhorin
On Tue, 2015-08-04 at 23:21 +0200, Heinrich Schuchardt wrote: Hello Andrew, the syntax error thrown in line 6 contradicts the documentation in gmpl.pdf. Here you describe that both the domain and the colon are optional. set I := 1..10; display 1..10; set J := {1..10}; display J;