![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Base class of all search limits.
Definition at line 3070 of file pywrapcp.py.
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Crossed (self) | |
| Check (self) | |
| Init (self) | |
| EnterSearch (self) | |
| BeginNextDecision (self, b) | |
| RefuteDecision (self, d) | |
| DebugString (self) | |
| Public Member Functions inherited from ortools.constraint_solver.pywrapcp.SearchMonitor | |
| __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) | |
| AcceptDelta (self, delta, deltadelta) | |
| AcceptNeighbor (self) | |
| ProgressPercent (self) | |
| solver (self) | |
| __repr__ (self) | |
| __str__ (self) | |
| __disown__ (self) | |
| Public Member Functions inherited from ortools.constraint_solver.pywrapcp.BaseObject | |
| __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") | |
| Properties inherited from ortools.constraint_solver.pywrapcp.SearchMonitor | |
| 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") | |
Additional Inherited Members | |
| Static Public Attributes inherited from ortools.constraint_solver.pywrapcp.SearchMonitor | |
| kNoProgress = _pywrapcp.SearchMonitor_kNoProgress | |
| ortools.constraint_solver.pywrapcp.SearchLimit.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
Definition at line 3075 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 3101 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 3084 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SearchLimit.Crossed | ( | self | ) |
Returns true if the limit has been crossed.
Definition at line 3080 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SearchLimit.DebugString | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.
Definition at line 3107 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SearchLimit.EnterSearch | ( | self | ) |
Internal methods.
Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.
Definition at line 3097 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.SearchLimit.Init | ( | self | ) |
This method is called when the search limit is initialized.
Definition at line 3093 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 3104 of file pywrapcp.py.
|
static |
Definition at line 3073 of file pywrapcp.py.