C++ Reference: class CumulBoundsPropagator
Note: This documentation is automatically generated.
Utility class used in the core optimizer to tighten the cumul bounds as much
as possible based on the model precedences.
Method |
CumulBoundsPropagator | Return type: explicit Arguments: const RoutingDimension* dimension |
CumulMax | Return type: int64_t Arguments: int index |
CumulMin | Return type: int64_t Arguments: int index |
dimension | Return type: const RoutingDimension& |
PropagateCumulBounds | Return type: bool Arguments:
const std::function<int64_t(int64_t)>& next_accessor,
int64_t cumul_offset Tightens the cumul bounds starting from the current cumul var min/max,
and propagating the precedences resulting from the next_accessor, and the
dimension's precedence rules.
Returns false iff the precedences are infeasible with the given routes.
Otherwise, the user can call CumulMin() and CumulMax() to retrieve the new
bounds of an index.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[[["`CumulBoundsPropagator` is a utility class within the core optimizer used for tightening cumulative bounds."],["It leverages model precedences to refine the range of possible cumulative values."],["The class provides methods like `CumulMin` and `CumulMax` to access the adjusted bounds."],["`PropagateCumulBounds` is a key function that performs the bound tightening based on precedences and returns a feasibility status."],["Users can obtain the associated `RoutingDimension` via the `dimension` method."]]],[]]