Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
--output-mode does not work when using include-statements. #153
It seems that the .ozn produced by a model with a single file, is not equivalent to the .ozn produced by the same model when broken up into multiple files and include-statements, at least when using --output-mode.
Take the example from the MiniZinc tutorial:
If you run mzn2fzn against that, with "--output-mode dzn", you get a non-empty .ozn, however, if you divide this into two files:
The same call to mzn2fzn yields an .ozn containing "output ;" and just that. If I move some of the variables back to aust.mzn, those variables are then visible in the output again.