fix
This commit is contained in:
@@ -134,6 +134,9 @@ bool LocalDimensionCumulOptimizer::ComputePackedRouteCumuls(
|
||||
lp_solver_[vehicle].get(), packed_cumuls);
|
||||
}
|
||||
|
||||
const int CumulBoundsPropagator::kNoParent = -2;
|
||||
const int CumulBoundsPropagator::kParentToBePropagated = -1;
|
||||
|
||||
CumulBoundsPropagator::CumulBoundsPropagator(const RoutingDimension* dimension)
|
||||
: dimension_(*dimension), num_nodes_(2 * dimension->cumuls().size()) {
|
||||
outgoing_arcs_.resize(num_nodes_);
|
||||
|
||||
@@ -47,8 +47,8 @@ class CumulBoundsPropagator {
|
||||
int head;
|
||||
int64 offset;
|
||||
};
|
||||
static constexpr int kNoParent = -2;
|
||||
static constexpr int kParentToBePropagated = -1;
|
||||
static const int kNoParent;
|
||||
static const int kParentToBePropagated;
|
||||
|
||||
// Return the node corresponding to the lower bound of the cumul of index and
|
||||
// -index respectively.
|
||||
|
||||
Reference in New Issue
Block a user