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.