logfile error
Hi
if i run an optimization 2 times, second time get a similar message:
logfile: cannot access file because another process uses it
what should i do? how can i close logfile or env?
some part of my code:
GRBEnv env = GRBEnv(true);
env.set("LogFile", logfile);
try {
env.start();
}
catch (...) {
return (GRBModel*)0;
}
static GRBModel model = GRBModel(env);
thanks
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
Post is closed for comments.
Comments
1 comment