Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
SequenceVar (self) | |
SetTransitionTime (self, transition_time) | |
TransitionTime (self, before_index, after_index) | |
Public Member Functions inherited from ortools.constraint_solver.pywrapcp.Constraint | |
Post (self) | |
InitialPropagateWrapper (self) | |
DebugString (self) | |
Var (self) | |
__repr__ (self) | |
__str__ (self) | |
__add__ (self, *args) | |
__radd__ (self, v) | |
__sub__ (self, *args) | |
__rsub__ (self, v) | |
__mul__ (self, *args) | |
__rmul__ (self, v) | |
__floordiv__ (self, v) | |
__neg__ (self) | |
__abs__ (self) | |
Square (self) | |
__eq__ (self, *args) | |
__ne__ (self, *args) | |
__ge__ (self, *args) | |
__gt__ (self, *args) | |
__le__ (self, *args) | |
__lt__ (self, *args) | |
MapTo (self, vars) | |
IndexOf (self, *args) | |
__disown__ (self) | |
Public Member Functions inherited from ortools.constraint_solver.pywrapcp.PropagationBaseObject | |
solver (self) | |
Name (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.Constraint | |
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") | |
Definition at line 3751 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DisjunctiveConstraint.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Reimplemented from ortools.constraint_solver.pywrapcp.Constraint.
Definition at line 3754 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DisjunctiveConstraint.SequenceVar | ( | self | ) |
Creates a sequence variable from the constraint.
Definition at line 3758 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DisjunctiveConstraint.SetTransitionTime | ( | self, | |
transition_time ) |
Add a transition time between intervals. It forces the distance between the end of interval a and start of interval b that follows it to be at least transition_time(a, b). This function must always return a positive or null value.
Definition at line 3762 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DisjunctiveConstraint.TransitionTime | ( | self, | |
before_index, | |||
after_index ) |
Definition at line 3771 of file pywrapcp.py.
|
static |
Definition at line 3752 of file pywrapcp.py.