Is there a way in the OCaml Z3 API to detect, after optimizing a problem and getting a model, to check if the objective was actually unbounded?
One method I see is to add a constraint "I want something bigger than this value I obtained", but that sounds a bit overkill..