You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parse error in data file with anonymous enumerated types #776
In the MiniZinc tutorial (specifically at Section 2.2.5 on complex constraints), Listing 2.2.10 for jobshop.mzn the model for job-shop scheduling, comes with a data file jdata.dzn, given in Listing 2.2.11, that contains anonymous enumerated types, specifically in the lines
MiniZinc: syntax error: syntax error, unexpected '(', expecting end of file
I don't know if this is a case of the documentation not lining up with the current program or an accidental regression, but I am filing this since I suspect it to be the latter.
Activity
Fix the parsing of anonymous enumerated types in DZN files
mathlover2 commentedon Jan 19, 2024
Thanks for fixing this!