Skip to content

Commit

Permalink
workaround abseil-cpp regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Aug 10, 2023
1 parent 797b0ea commit bb7c013
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions ortools/sat/cuts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ std::string CutTerm::DebugString() const {
}

std::string CutData::DebugString() const {
std::string result = absl::StrCat("CutData rhs=", rhs, "\n");
std::string result = absl::StrCat("CutData rhs="/*, rhs*/, "\n");
for (const CutTerm& term : terms) {
absl::StrAppend(&result, term.DebugString(), "\n");
}
Expand Down Expand Up @@ -2003,9 +2003,14 @@ FlowCoverCutHelper::~FlowCoverCutHelper() {
}

std::string SingleNodeFlow::DebugString() const {
return absl::StrCat("#in:", in_flow.size(), " #out:", out_flow.size(),
" demand:", demand, " #bool:", num_bool,
" #lb:", num_to_lb, " #ub:", num_to_ub);
return absl::StrCat(
"#in:", in_flow.size()
," #out:", out_flow.size()
//," demand:", demand
," #bool:", num_bool
," #lb:", num_to_lb
," #ub:", num_to_ub
);
}

// The flow info of a linear term is always the same.
Expand Down

0 comments on commit bb7c013

Please sign in to comment.