GRBModel.setLogCallback()


GRBModel.setLogCallback()

Sets a logging callback function to query all output posted by the model object. Can be set after a model was created.

void setLogCallback ( java.util.function.Consumer<String> logCallback )

Arguments:

logCallback: The logging callback function.