Skip to content

Outputs to stdout even when log_to_console option is false #2734

@SanjayVas

Description

@SanjayVas

I'm seeing messages like the following in stdout:

degeneracy? not possible to find non-active constraint to leave basis. max: log(d[0]) = -inf

This is despite passing verbose=False when calling qpsolvers, which in turn sets the log_to_console option to false when calling highspy.

This causes problems with programs that rely on stdout being parseable. (In our case, having highs fail is sometimes expected and should result in the program still having the appropriate output via stdout).

Using qpsolvers 4.3.3 with highspy 1.7.2.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions