Skip to content

After the solver updates less logs is written out #3644

@Diddlik

Description

@Diddlik

What version of OR-Tools and what language are you using?
Version: main/v9.5 and 8,2
Language: C++

Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
GLOP

What operating system (Linux, Windows, ...) and version?
Windows

What did you do?

I have updated the solver from 8.2 to 9.5 and noticed that now significantly fewer logs are written out.
See the picture. Left is glop with ortools 9.5, right glop with ortools 8.2
Has something happened to logging in the time?

		//turn_on_GLOP_logging_if_necessary();
		if (solver_args.verbose > 0 && solver_args.mode_type != MODETYPE::MULTI) {
			{
				my_cout << "Initializing google logging\n";
				char myargv[256];
				sprintf(myargv, "GLOP_%s_%d_", _solver_parameter_ptr->optname, id);
				google::InitGoogleLogging(myargv);
				FLAGS_log_dir.Set(folder_path);
				my_cout << "Setting Glop output folder to " << FLAGS_log_dir.Get() << endl;
				//FLAGS_v.Set(2);
				FLAGS_v.Set(solver_args.verbose);
				FLAGS_minloglevel.Set(0);
			}
		}

What did you expect to see
I except to see similar logs

What did you see instead?
fewer logs as expected

grafik

Metadata

Metadata

Assignees

Labels

Help NeededModeling/Usage problemLang: C++Native implementation issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions