Yury Semenov
unread,May 24, 2024, 6:25:26 AMMay 24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MiniZinc
Hi,
I'm using MiniZinc as a layer between my code and solvers, and my code needs to get variable values from MiniZinc output. Unfortunately, this is not a pleasant task even with the --json-stream option, which, according to the documentation, is supposed to produce machine-readable output. This is because the variables are encoded in minizinc syntax and are stored in a single string inside the json. Is there any way to produce something even more machine-readable? For example, to store variables in a structured json like "{"var1": 0, "var_array": [1, 2, 3]}"?