How to send the Gurobi generated output logs only to LogFile and not on the console?
I am doing the following:
Env *env = new GRBEnv("/home/myname/GurobiLogFile.log"); to create the environment variable and then
model = new GRBModel(*env);
model->getEnv().set(GRB_IntParam_OutputFlag, 0);
but the problem to this approach is if i set the parameter GRB_IntParam_OutputFlag to value 1, then the output is generated both on the "GurobiLogFile.log" as well as on the console, and if the value is set to 0, output get disabled from either sides.
My requirement is that i want to see the output only on the "GurobiLogFile.log" but not on my console.
Can Anybody help me out on this issue.
Thanks in advance.