From 2f0d8a396c76038047952feb66308955f5606930 Mon Sep 17 00:00:00 2001 From: "lperron@google.com" Date: Tue, 8 Jul 2014 17:10:47 +0000 Subject: [PATCH] fix --- src/linear_solver/glop_interface.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/linear_solver/glop_interface.cc b/src/linear_solver/glop_interface.cc index fb292a98c9..2ded2bc61a 100644 --- a/src/linear_solver/glop_interface.cc +++ b/src/linear_solver/glop_interface.cc @@ -291,10 +291,7 @@ void GLOPInterface::SetObjectiveOffset(double value) { NonIncrementalChange(); } void GLOPInterface::ClearObjective() { NonIncrementalChange(); } int64 GLOPInterface::iterations() const { - // TODO(user): Check with bdb@ if iterations corresponds to - // RevisedSimplex::num_pivots_. - LOG(WARNING) << "Iterations are not implemented yet."; - return kUnknownNumberOfIterations; + return lp_solver_.GetNumberOfSimplexIterations(); } int64 GLOPInterface::nodes() const {