MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / hasExcessLoad

Method hasExcessLoad

pyvrp/cpp/Solution.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84bool Solution::isComplete() const { return numMissingClients_ == 0; }
85
86bool Solution::hasExcessLoad() const
87{
88 return std::any_of(excessLoad_.begin(),
89 excessLoad_.end(),
90 [](auto const excess) { return excess > 0; });
91}
92
93bool Solution::hasExcessDistance() const { return excessDistance_ > 0; }
94

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected