summaryrefslogtreecommitdiff
path: root/src/theory/arith/simplex.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-06-14 14:32:51 +0000
committerMorgan Deters <mdeters@gmail.com>2012-06-14 14:32:51 +0000
commitde6c0b0929f23fd3d01ae4c8bd3b93d4f484b7c7 (patch)
treef81881044a187571c56631466a2a9e0622f1d2c9 /src/theory/arith/simplex.cpp
parentc1b87cb541768fa9811cef643e43fdc09091c353 (diff)
The "no-tears-in-competition-mode" commit. Change all (non-driver, non-SAT-solver) uses of std::cout to the Message stream, and all uses of std::cerr to the Warning stream.
Diffstat (limited to 'src/theory/arith/simplex.cpp')
-rw-r--r--src/theory/arith/simplex.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/theory/arith/simplex.cpp b/src/theory/arith/simplex.cpp
index 73087d4e8..ee71dea74 100644
--- a/src/theory/arith/simplex.cpp
+++ b/src/theory/arith/simplex.cpp
@@ -287,11 +287,11 @@ Result::Sat SimplexDecisionProcedure::findModel(bool exactResult){
if(verbose && numDifferencePivots > 0){
if(result == Result::UNSAT){
- cout << "diff order found unsat" << endl;
+ Message() << "diff order found unsat" << endl;
}else if(d_queue.empty()){
- cout << "diff order found model" << endl;
+ Message() << "diff order found model" << endl;
}else{
- cout << "diff order missed" << endl;
+ Message() << "diff order missed" << endl;
}
}
}
@@ -316,11 +316,11 @@ Result::Sat SimplexDecisionProcedure::findModel(bool exactResult){
}
if(verbose){
if(result == Result::UNSAT){
- cout << "bland found unsat" << endl;
+ Message() << "bland found unsat" << endl;
}else if(d_queue.empty()){
- cout << "bland found model" << endl;
+ Message() << "bland found model" << endl;
}else{
- cout << "bland order missed" << endl;
+ Message() << "bland order missed" << endl;
}
}
}else{
@@ -335,11 +335,11 @@ Result::Sat SimplexDecisionProcedure::findModel(bool exactResult){
if(verbose){
if(result == Result::UNSAT){
- cout << "restricted var order found unsat" << endl;
+ Message() << "restricted var order found unsat" << endl;
}else if(d_queue.empty()){
- cout << "restricted var order found model" << endl;
+ Message() << "restricted var order found model" << endl;
}else{
- cout << "restricted var order missed" << endl;
+ Message() << "restricted var order missed" << endl;
}
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback