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;
> display : {1..10};
> display {1..10};

The syntax error happens because the display statement above has no
items to display; it should have at least one. 

Note that 'display : {1..10}' is correct, because it has empty domain
and the item to display is the set {1..10}.

> end;
> 
> Best regards
> 
> Heinrich Schuchardt
> 
> _______________________________________________
> Bug-glpk mailing list
> Bug-glpk@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-glpk
> 



_______________________________________________
Bug-glpk mailing list
Bug-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to