Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
StartMin (self) | |
StartMax (self) | |
SetStartMin (self, m) | |
SetStartMax (self, m) | |
SetStartRange (self, mi, ma) | |
OldStartMin (self) | |
OldStartMax (self) | |
WhenStartRange (self, *args) | |
WhenStartBound (self, *args) | |
DurationMin (self) | |
DurationMax (self) | |
SetDurationMin (self, m) | |
SetDurationMax (self, m) | |
SetDurationRange (self, mi, ma) | |
OldDurationMin (self) | |
OldDurationMax (self) | |
WhenDurationRange (self, *args) | |
WhenDurationBound (self, *args) | |
EndMin (self) | |
EndMax (self) | |
SetEndMin (self, m) | |
SetEndMax (self, m) | |
SetEndRange (self, mi, ma) | |
OldEndMin (self) | |
OldEndMax (self) | |
WhenEndRange (self, *args) | |
WhenEndBound (self, *args) | |
MustBePerformed (self) | |
MayBePerformed (self) | |
CannotBePerformed (self) | |
IsPerformedBound (self) | |
SetPerformed (self, val) | |
WasPerformedBound (self) | |
WhenPerformedBound (self, *args) | |
WhenAnything (self, *args) | |
StartExpr (self) | |
DurationExpr (self) | |
EndExpr (self) | |
PerformedExpr (self) | |
SafeStartExpr (self, unperformed_value) | |
SafeDurationExpr (self, unperformed_value) | |
SafeEndExpr (self, unperformed_value) | |
EndsAfterEnd (self, other) | |
EndsAfterEndWithDelay (self, other, delay) | |
EndsAfterStart (self, other) | |
EndsAfterStartWithDelay (self, other, delay) | |
EndsAtEnd (self, other) | |
EndsAtEndWithDelay (self, other, delay) | |
EndsAtStart (self, other) | |
EndsAtStartWithDelay (self, other, delay) | |
StartsAfterEnd (self, other) | |
StartsAfterEndWithDelay (self, other, delay) | |
StartsAfterStart (self, other) | |
StartsAfterStartWithDelay (self, other, delay) | |
StartsAtEnd (self, other) | |
StartsAtEndWithDelay (self, other, delay) | |
StartsAtStart (self, other) | |
StartsAtStartWithDelay (self, other, delay) | |
StaysInSync (self, other) | |
StaysInSyncWithDelay (self, other, delay) | |
EndsAfter (self, date) | |
EndsAt (self, date) | |
EndsBefore (self, date) | |
StartsAfter (self, date) | |
StartsAt (self, date) | |
StartsBefore (self, date) | |
CrossesDate (self, date) | |
AvoidsDate (self, date) | |
__repr__ (self) | |
__str__ (self) | |
Public Member Functions inherited from ortools.constraint_solver.pywrapcp.PropagationBaseObject | |
DebugString (self) | |
solver (self) | |
Name (self) | |
__disown__ (self) | |
Public Member Functions inherited from ortools.constraint_solver.pywrapcp.BaseObject |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from ortools.constraint_solver.pywrapcp.PropagationBaseObject | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from ortools.constraint_solver.pywrapcp.BaseObject | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Interval variables are often used in scheduling. The main characteristics of an IntervalVar are the start position, duration, and end date. All these characteristics can be queried and set, and demons can be posted on their modifications. An important aspect is optionality: an IntervalVar can be performed or not. If unperformed, then it simply does not exist, and its characteristics cannot be accessed any more. An interval var is automatically marked as unperformed when it is not consistent anymore (start greater than end, duration < 0...)
Definition at line 2859 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 2875 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.__repr__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 3111 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.__str__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 3114 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.AvoidsDate | ( | self, | |
date ) |
Definition at line 3108 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.CannotBePerformed | ( | self | ) |
Definition at line 2975 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.CrossesDate | ( | self, | |
date ) |
Definition at line 3105 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.DurationExpr | ( | self | ) |
Definition at line 3010 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.DurationMax | ( | self | ) |
Definition at line 2913 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.DurationMin | ( | self | ) |
These methods query, set, and watch the duration of the interval var.
Definition at line 2909 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndExpr | ( | self | ) |
Definition at line 3013 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndMax | ( | self | ) |
Definition at line 2941 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndMin | ( | self | ) |
These methods query, set, and watch the end position of the interval var.
Definition at line 2937 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAfter | ( | self, | |
date ) |
Definition at line 3087 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAfterEnd | ( | self, | |
other ) |
Definition at line 3033 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAfterEndWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3036 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAfterStart | ( | self, | |
other ) |
Definition at line 3039 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAfterStartWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3042 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAt | ( | self, | |
date ) |
Definition at line 3090 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAtEnd | ( | self, | |
other ) |
Definition at line 3045 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAtEndWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3048 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAtStart | ( | self, | |
other ) |
Definition at line 3051 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsAtStartWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3054 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.EndsBefore | ( | self, | |
date ) |
Definition at line 3093 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.IsPerformedBound | ( | self | ) |
Definition at line 2978 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.MayBePerformed | ( | self | ) |
Definition at line 2972 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.MustBePerformed | ( | self | ) |
These methods query, set, and watch the performed status of the interval var.
Definition at line 2965 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.OldDurationMax | ( | self | ) |
Definition at line 2928 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.OldDurationMin | ( | self | ) |
Definition at line 2925 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.OldEndMax | ( | self | ) |
Definition at line 2956 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.OldEndMin | ( | self | ) |
Definition at line 2953 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.OldStartMax | ( | self | ) |
Definition at line 2900 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.OldStartMin | ( | self | ) |
Definition at line 2897 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.PerformedExpr | ( | self | ) |
Definition at line 3016 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SafeDurationExpr | ( | self, | |
unperformed_value ) |
Definition at line 3027 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SafeEndExpr | ( | self, | |
unperformed_value ) |
Definition at line 3030 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SafeStartExpr | ( | self, | |
unperformed_value ) |
These methods create expressions encapsulating the start, end and duration of the interval var. If the interval var is unperformed, they will return the unperformed_value.
Definition at line 3019 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetDurationMax | ( | self, | |
m ) |
Definition at line 2919 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetDurationMin | ( | self, | |
m ) |
Definition at line 2916 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetDurationRange | ( | self, | |
mi, | |||
ma ) |
Definition at line 2922 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetEndMax | ( | self, | |
m ) |
Definition at line 2947 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetEndMin | ( | self, | |
m ) |
Definition at line 2944 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetEndRange | ( | self, | |
mi, | |||
ma ) |
Definition at line 2950 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetPerformed | ( | self, | |
val ) |
Definition at line 2981 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetStartMax | ( | self, | |
m ) |
Definition at line 2891 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetStartMin | ( | self, | |
m ) |
Definition at line 2888 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.SetStartRange | ( | self, | |
mi, | |||
ma ) |
Definition at line 2894 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartExpr | ( | self | ) |
These methods create expressions encapsulating the start, end and duration of the interval var. Please note that these must not be used if the interval var is unperformed.
Definition at line 3002 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartMax | ( | self | ) |
Definition at line 2885 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartMin | ( | self | ) |
These methods query, set, and watch the start position of the interval var.
Definition at line 2878 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAfter | ( | self, | |
date ) |
Definition at line 3096 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAfterEnd | ( | self, | |
other ) |
Definition at line 3057 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAfterEndWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3060 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAfterStart | ( | self, | |
other ) |
Definition at line 3063 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAfterStartWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3066 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAt | ( | self, | |
date ) |
Definition at line 3099 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAtEnd | ( | self, | |
other ) |
Definition at line 3069 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAtEndWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3072 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAtStart | ( | self, | |
other ) |
Definition at line 3075 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsAtStartWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3078 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StartsBefore | ( | self, | |
date ) |
Definition at line 3102 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StaysInSync | ( | self, | |
other ) |
Definition at line 3081 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.StaysInSyncWithDelay | ( | self, | |
other, | |||
delay ) |
Definition at line 3084 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WasPerformedBound | ( | self | ) |
Definition at line 2984 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenAnything | ( | self, | |
* | args ) |
*Overload 1:* Attaches a demon awakened when anything about this interval changes. | *Overload 2:* Attaches a closure awakened when anything about this interval changes.
Definition at line 2990 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenDurationBound | ( | self, | |
* | args ) |
Definition at line 2934 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenDurationRange | ( | self, | |
* | args ) |
Definition at line 2931 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenEndBound | ( | self, | |
* | args ) |
Definition at line 2962 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenEndRange | ( | self, | |
* | args ) |
Definition at line 2959 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenPerformedBound | ( | self, | |
* | args ) |
Definition at line 2987 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenStartBound | ( | self, | |
* | args ) |
Definition at line 2906 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.IntervalVar.WhenStartRange | ( | self, | |
* | args ) |
Definition at line 2903 of file pywrapcp.py.
|
static |
Definition at line 2873 of file pywrapcp.py.