C++ Reference: scheduling_cuts
Note: This documentation is automatically generated.
Function |
Type |
Arguments |
Comments |
ComputeMinSumOfWeightedEndMins | Return type: bool Arguments: std::vector<PermutableEvent>& events, IntegerValue capacity_max, IntegerValue& min_sum_of_end_mins, IntegerValue& min_sum_of_weighted_end_mins, IntegerValue unweighted_threshold, IntegerValue weighted_threshold |
CreateCumulativeCompletionTimeCutGenerator | Return type: CutGenerator Arguments: SchedulingConstraintHelper* helper, SchedulingDemandHelper* demands_helper, const AffineExpression& capacity, Model* model |
CreateCumulativeEnergyCutGenerator | Return type: CutGenerator Arguments: SchedulingConstraintHelper* helper, SchedulingDemandHelper* demands_helper, const AffineExpression& capacity, const std::optional<AffineExpression>& makespan, Model* model |
CreateCumulativePrecedenceCutGenerator | Return type: CutGenerator Arguments: SchedulingConstraintHelper* helper, SchedulingDemandHelper* demands_helper, const AffineExpression& capacity, Model* model |
CreateCumulativeTimeTableCutGenerator | Return type: CutGenerator Arguments: SchedulingConstraintHelper* helper, SchedulingDemandHelper* demands_helper, const AffineExpression& capacity, Model* model |
CreateNoOverlap2dCompletionTimeCutGenerator | Return type: CutGenerator Arguments: const std::vector<IntervalVariable>& x_intervals, const std::vector<IntervalVariable>& y_intervals, Model* model |
CreateNoOverlap2dEnergyCutGenerator | Return type: CutGenerator Arguments: const std::vector<IntervalVariable>& x_intervals, const std::vector<IntervalVariable>& y_intervals, Model* model |
CreateNoOverlapCompletionTimeCutGenerator | Return type: CutGenerator Arguments: SchedulingConstraintHelper* helper, Model* model |
CreateNoOverlapEnergyCutGenerator | Return type: CutGenerator Arguments: SchedulingConstraintHelper* helper, const std::optional<AffineExpression>& makespan, Model* model |
CreateNoOverlapPrecedenceCutGenerator | Return type: CutGenerator Arguments: SchedulingConstraintHelper* helper, Model* model |
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."],[[["This C++ reference documents functions related to scheduling cuts within the or-tools library."],["It provides a variety of cut generators for different scheduling constraints, including cumulative, no-overlap, and no-overlap2d constraints."],["Each function is listed with its return type, arguments, and a link to its definition in the or-tools source code."],["These functions assist in optimizing scheduling problems by generating cuts that tighten the solution space."],["Developers can use these cut generators to improve the performance of their scheduling models and find better solutions."]]],["The content outlines C++ functions for generating cuts in scheduling problems, focusing on cumulative and no-overlap constraints. Key functions include `ComputeMinSumOfWeightedEndMins`, which calculates minimum sums, and several `Create...CutGenerator` functions. These generator functions, such as `CreateCumulativeEnergyCutGenerator` and `CreateNoOverlap2dEnergyCutGenerator`, produce `CutGenerator` objects for various constraint types. These functions manage scheduling demands, capacity, makespan, and intervals to optimize scheduling solutions.\n"]]