![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
Crossed (self) | |
Check (self) | |
Init (self) | |
EnterSearch (self) | |
BeginNextDecision (self, b) | |
RefuteDecision (self, d) | |
DebugString (self) | |
![]() | |
__init__ (self, s) | |
RestartSearch (self) | |
ExitSearch (self) | |
EndNextDecision (self, b, d) | |
ApplyDecision (self, d) | |
AfterDecision (self, d, apply) | |
BeginFail (self) | |
EndFail (self) | |
BeginInitialPropagation (self) | |
EndInitialPropagation (self) | |
AcceptSolution (self) | |
AtSolution (self) | |
NoMoreSolutions (self) | |
LocalOptimum (self) | |
AcceptDelta (self, delta, deltadelta) | |
AcceptNeighbor (self) | |
ProgressPercent (self) | |
solver (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") | |
![]() | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Additional Inherited Members | |
![]() | |
kNoProgress = _pywrapcp.SearchMonitor_kNoProgress | |
Base class of all search limits.
Definition at line 3052 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Definition at line 3057 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.BeginNextDecision | ( | self, | |
b ) |
Before calling DecisionBuilder::Next.
Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.
Definition at line 3083 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.Check | ( | self | ) |
This method is called to check the status of the limit. A return value of true indicates that we have indeed crossed the limit. In that case, this method will not be called again and the remaining search will be discarded.
Definition at line 3066 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.Crossed | ( | self | ) |
Returns true if the limit has been crossed.
Definition at line 3062 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.DebugString | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 3089 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.EnterSearch | ( | self | ) |
Internal methods.
Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.
Definition at line 3079 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.Init | ( | self | ) |
This method is called when the search limit is initialized.
Definition at line 3075 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SearchLimit.RefuteDecision | ( | self, | |
d ) |
Before refuting the decision.
Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.
Definition at line 3086 of file pywrapcp.py.
|
static |
Definition at line 3055 of file pywrapcp.py.