![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self) | |
ApplyWrapper (self, s) | |
RefuteWrapper (self, s) | |
DebugString (self) | |
__repr__ (self) | |
__str__ (self) | |
__disown__ (self) | |
![]() | |
__init__ (self) | |
__str__ (self) | |
__repr__ (self) | |
__disown__ (self) | |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
![]() | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
A Decision represents a choice point in the search tree. The two main methods are Apply() to go left, or Refute() to go right.
Definition at line 2218 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__init__ | ( | self | ) |
Definition at line 2226 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__disown__ | ( | self | ) |
Definition at line 2250 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__repr__ | ( | self | ) |
Definition at line 2245 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__str__ | ( | self | ) |
Definition at line 2248 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.ApplyWrapper | ( | self, | |
s ) |
Apply will be called first when the decision is executed.
Reimplemented in ortools.constraint_solver.pywrapcp.PyDecision.
Definition at line 2234 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.DebugString | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Reimplemented in ortools.constraint_solver.pywrapcp.PyDecision.
Definition at line 2242 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.RefuteWrapper | ( | self, | |
s ) |
Refute will be called after a backtrack.
Reimplemented in ortools.constraint_solver.pywrapcp.PyDecision.
Definition at line 2238 of file pywrapcp.py.
|
static |
Definition at line 2224 of file pywrapcp.py.