GRBModel::getJSONSolution()


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.

getJSONSolution GRBModel ( )

Return value:

A JSON string.