[Osi] Is there a way to deactivate solver output?

Stefan Vigerske stefan at math.hu-berlin.de
Sat Apr 24 09:25:56 EDT 2010


> I want to modify the program I'm writing to take its instances on the
> standard input and print the solutions on the standard output.
> However, the embedded solver pollutes the standard output with its
> messages. Is there a way to deactivate that?

Try set the loglevel of the message handler to 0 (or -1):
Depending on which solver you use, this is better or worse implemented
(should work for clp, cplex, xpress, mosek, glpk, gurobi).


More information about the Osi mailing list