PATHSolver.jl icon indicating copy to clipboard operation
PATHSolver.jl copied to clipboard

Can we hide the options reading output somehow?

Open davidanthoff opened this issue 4 years ago • 2 comments

Right now there is always an output like this:

Reading options file /var/folders/bg/dzq_hhvx1dxgy6gb5510pxj80000gn/T/tmpiSsCRO
Read of options file complete.

I think that is printed by PATH itself, right? Is there some option that we could flip so that this isn't shown by PATH? Would be nice if we could disable printing that particular message.

davidanthoff avatar Mar 03 '21 04:03 davidanthoff

Yes, this is by PATH. I'm not sure what can be done for this. Perhaps it's possible to suppress all messages. I don't think it's possible to hide only particular messages though.

chkwon avatar Mar 03 '21 04:03 chkwon

Fwiw, in the C-API it should be sufficient to just pass silent = true to solve_mcp https://github.com/chkwon/PATHSolver.jl/blob/8159282ff8318c4b5e7353fab0e02ed1f48a7e85/src/C_API.jl#L559

lassepe avatar Sep 02 '22 07:09 lassepe

Closing because silent = true is the correct solution.

odow avatar Jan 01 '23 22:01 odow