[Coin-discuss] OsiXprSolverInterface stdout control

Luiz Carlos da Costa Junior lcjunior at ufrj.br
Sun Apr 15 19:58:08 EDT 2012


Hi all,

I'am using OsiXprSolverInterface and, at the "loadProblem" and
"initialSolve" methods, Xpress prints the problem statistics and solution
summary at the stdout, as follows:

> XPRS0000
> XPRS0000  Reading Problem Prob1
> XPRS0000  Problem Statistics
> XPRS0000             2 (     50 spare) rows
> XPRS0000             7 (      0 spare) structural columns
> XPRS0000             8 (    100 spare) non-zero elements
> XPRS0000  Global Statistics
> XPRS0000             0 entities        0 sets        0 set members
> XPRS0000  Minimizing LP Prob1
> XPRS0000  Original problem has:
> XPRS0000           2 rows            7 cols            8 elements
> XPRS0000  Presolved problem has:
> XPRS0000           1 rows            3 cols            3 elements
> XPRS0000
> XPRS0000     Its         Obj Value      S   Ninf  Nneg        Sum Inf  Time
> XPRS0000       0           .000000      D      1     0    2976.000000     0
> XPRS0000       1       23808.00000      D      0     0        .000000     0
> XPRS0000  Uncrunching matrix
> XPRS0000       1       23808.00000      D      0     0        .000000     0
> XPRS0000  Optimal solution found


Is there any way to change the verbose level or redirect the Xpress output
to somewhere else? I tried to use setLogFile, but it didn't work.

Thanks in advance,
Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20120415/2579806b/attachment.html>


More information about the Coin-discuss mailing list