C++ Reference: class LocalDimensionCumulOptimizer
Note: This documentation is automatically generated.
Class used to compute optimal values for dimension cumuls of routes, minimizing cumul soft lower and upper bound costs, and vehicle span costs of a route. In its methods, next_accessor is a callback returning the next node of a given node on a route.Method | |
---|---|
ComputePackedRouteCumuls | Return type: Arguments: Similar to ComputeRouteCumuls, but also tries to pack the cumul values on the route, such that the cost remains the same, the cumul of route end is minimized, and then the cumul of the start of the route is maximized. If 'resource' is non-null, the packed route must also respect its start/end time window. |
ComputeRouteCumulCost | Return type: Arguments: If feasible, computes the optimal cost of the route performed by a vehicle, minimizing cumul soft lower and upper bound costs and vehicle span costs, and stores it in "optimal_cost" (if not null). Returns true iff the route respects all constraints. |
ComputeRouteCumulCostsForResourcesWithoutFixedTransits | Arguments: |
ComputeRouteCumulCostWithoutFixedTransits | Return type: Arguments: Same as ComputeRouteCumulCost, but the cost computed does not contain the part of the vehicle span cost due to fixed transits. |
ComputeRouteCumuls | Return type: Arguments: If feasible, computes the optimal values for cumul and break variables of the route performed by a vehicle, minimizing cumul soft lower, upper bound costs and vehicle span costs, stores them in "optimal_cumuls" (if not null), and optimal_breaks, and returns true. Returns false if the route is not feasible. |
dimension | Return type: |
LocalDimensionCumulOptimizer | Arguments: |