Opened 10 years ago
Closed 20 months ago
#89 closed defect (migrated)
OsiXprSolverInterface prints on stdout even if OsiDoReducePrint is and loglevel is set to zero in its messagehandler
Reported by: | chm.duquesne | Owned by: | mjs |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Osi Base Class | Version: | 0.100.2 |
Keywords: | Cc: |
Description
see http://list.coin-or.org/pipermail/osi/2010-May/000360.html and http://list.coin-or.org/pipermail/osi/2010-April/000340.html
Applying
osi->setHintParam(OsiDoReducePrint?); osi->messageHandler()->setLogLevel(0);
I am able to deactivate output for most solvers, except Xpress.
#------------------------------------ #Stuff I want to get rid of: #------------------------------------
Reading Problem _xprs_ Problem Statistics
0 ( 0 spare) rows 0 ( 0 spare) structural columns 0 ( 0 spare) non-zero elements
Global Statistics
0 entities 0 sets 0 set members
Reading Problem Prob1 Problem Statistics
600 ( 50 spare) rows 927 ( 0 spare) structural columns
2196 ( 100 spare) non-zero elements
Global Statistics
0 entities 0 sets 0 set members
Presolved problem has: 382 rows 676 cols 1676 non-zeros Crash basis containing 187 structural columns created
Its Obj Value S Ninf Nneg Sum Inf Time
0 .000000 D 1 0 42.000000 0
58 49844.00000 D 0 0 .000000 0
Uncrunching matrix
58 49844.00000 D 0 0 .000000 0
Optimal solution found Presolved problem has: 372 rows 666 cols 1637 non-zeros ?140 Warning: Basis lost - recovering
Its Obj Value S Ninf Nneg Sum Inf Time
0 30800.00000 D 6 0 .000000 0 1 49844.00000 D 0 0 .000000 0
Optimal solution found
Starting root cutting & heuristics
Its Type BestSoln? BestBound? Sols Add Del Gap GInf Time
+ 49844.00000 49844.00000 1 .000000 0 0
* Relative MIP gap less than MIPRELSTOP * * Search completed * Time: 0 Nodes: 1
Number of integer feasible solutions found is 1 Best integer solution found is 49844.00000 Best bound is 49844.00000 Uncrunching matrix decrementInstanceCounter:: numInstances 1
Change History (1)
comment:1 Changed 20 months ago by stefan
- Resolution set to migrated
- Status changed from new to closed
This ticket has been migrated to GitHub and will be resolved there: https://github.com/coin-or/Osi/issues/89