[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eThe C++ reference for \u003ccode\u003escheduling_constraints\u003c/code\u003e provides functions for modeling scheduling problems with constraints.\u003c/p\u003e\n"],["\u003cp\u003eThree key functions are described: \u003ccode\u003eEqualMaxOfSelectedVariables\u003c/code\u003e, \u003ccode\u003eEqualMinOfSelectedVariables\u003c/code\u003e, and \u003ccode\u003eSpanOfIntervals\u003c/code\u003e, each accepting specific arguments to define scheduling relationships.\u003c/p\u003e\n"],["\u003cp\u003eThese functions assist in constraining the maximum or minimum values of selected variables or defining the span of a set of intervals, ultimately aiding in building complex scheduling models within the OR-Tools framework.\u003c/p\u003e\n"]]],["The core content describes three C++ functions related to scheduling constraints within the OR-Tools library. `EqualMaxOfSelectedVariables` and `EqualMinOfSelectedVariables` set a target variable to the maximum or minimum, respectively, of selected expressions, using enforcement literals and selectors. `SpanOfIntervals` defines a span interval that encompasses a collection of other intervals. Each function returns a callable object to be applied to a Model, they also provide the type and its arguments.\n"],null,["# scheduling_constraints\n\nC++ Reference: scheduling_constraints\n=====================================\n\n\nNote: This documentation is automatically generated.\n\n| Function | Type | Arguments | Comments |\n|------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|----------|\n| [`EqualMaxOfSelectedVariables`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/scheduling_constraints.h#L49) | Return type: `std::function\u003cvoid(Model*)\u003e ` Arguments: ` Literal enforcement_literal, AffineExpression target, const std::vector\u003cAffineExpression\u003e& exprs, const std::vector\u003cLiteral\u003e& selectors` \u003cbr /\u003e |\n| [`EqualMinOfSelectedVariables`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/scheduling_constraints.h#L39) | Return type: `std::function\u003cvoid(Model*)\u003e ` Arguments: ` Literal enforcement_literal, AffineExpression target, const std::vector\u003cAffineExpression\u003e& exprs, const std::vector\u003cLiteral\u003e& selectors` \u003cbr /\u003e |\n| [`SpanOfIntervals`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/scheduling_constraints.h#L65) | Return type: `std::function\u003cvoid(Model*)\u003e ` Arguments: ` IntervalVariable span, const std::vector\u003cIntervalVariable\u003e& intervals` \u003cbr /\u003e |"]]