Google OR-Tools v9.11
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) | |
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.BaseObject | |
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 1984 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__init__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 1992 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__disown__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 2016 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__repr__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 2011 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Decision.__str__ | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 2014 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 2000 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 2008 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 2004 of file pywrapcp.py.
|
static |
Definition at line 1990 of file pywrapcp.py.