GRBModel.getJSONSolution()

After a call to optimize, this method returns the resulting solution and related model attributes as a JSON string. Please refer to the JSON solution format section for details.

String getJSONSolution ( )

Return value:

A JSON string.