Hi,
I'd like to report a bug in MiniZinc version 2.8.3.
Specifically, when employing the HiGHS solver on an optimisation problem that is unsatisfiable, using the "-s", "--output-objective " and "--json-stream" flags: in this case MiniZinc releases JSON outputs containing values such as inf and -inf, but these values lack proper escaping (i.e., they're not written as "inf" and "-inf").
This leads to an error in parsing the JSON responses from MiniZinc, both in direct parsing from the standard output and when using the Python API for MiniZinc.
I have attached to this message an instance of the problem (in the form of model.mzn and data.dzn).
Here is the command used:
minizinc -s -d data.dzn model.mzn --json-stream --output-objective --solver highs
Thanks,
Simone.