Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output annotations #13

Closed
MaxOstrowski opened this issue Jun 24, 2020 · 4 comments
Closed

Output annotations #13

MaxOstrowski opened this issue Jun 24, 2020 · 4 comments

Comments

@MaxOstrowski
Copy link
Member

We need them for the correct output for the minizinc competition:

https://www.minizinc.org/doc-2.4.3/en/fzn-spec.html#solution-output

Maybe you can find some examples of multi-dim output array flattening.
Otherwise, this is the only annotation that we currently need.

@sthiele
Copy link
Member

sthiele commented Jun 27, 2020

related potassco/flatzinc#7

@sthiele
Copy link
Member

sthiele commented Jun 27, 2020

How would you like the output?
For

var int : a :: output_var;

I would simply print

output_var("a").

For

array [1..4] of var int : e :: output_array([1..2, 1..2]);
output_array("e",0,(1,2)).
output_array("e",1,(1,2)).

@MaxOstrowski
Copy link
Member Author

Sounds awesome.
Are there any other more complicated output annotations?

@sthiele
Copy link
Member

sthiele commented Jun 28, 2020

For output annotation that's it. But there are more annotations to guide the search.

@sthiele sthiele closed this as completed Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants