Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
ortools.constraint_solver.pywrapcp.SearchLimit Class Reference
Inheritance diagram for ortools.constraint_solver.pywrapcp.SearchLimit:
ortools.constraint_solver.pywrapcp.SearchMonitor ortools.constraint_solver.pywrapcp.BaseObject

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
 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)
 
- 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.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
 

Detailed Description

 Base class of all search limits.

Definition at line 2817 of file pywrapcp.py.

Constructor & Destructor Documentation

◆ __init__()

ortools.constraint_solver.pywrapcp.SearchLimit.__init__ ( self,
* args,
** kwargs )

Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.

Definition at line 2822 of file pywrapcp.py.

Member Function Documentation

◆ BeginNextDecision()

ortools.constraint_solver.pywrapcp.SearchLimit.BeginNextDecision ( self,
b )
 Before calling DecisionBuilder::Next.

Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.

Definition at line 2848 of file pywrapcp.py.

◆ Check()

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 2831 of file pywrapcp.py.

◆ Crossed()

ortools.constraint_solver.pywrapcp.SearchLimit.Crossed ( self)
 Returns true if the limit has been crossed.

Definition at line 2827 of file pywrapcp.py.

◆ DebugString()

ortools.constraint_solver.pywrapcp.SearchLimit.DebugString ( self)

Reimplemented from ortools.constraint_solver.pywrapcp.BaseObject.

Definition at line 2854 of file pywrapcp.py.

◆ EnterSearch()

ortools.constraint_solver.pywrapcp.SearchLimit.EnterSearch ( self)
 Internal methods.

Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.

Definition at line 2844 of file pywrapcp.py.

◆ Init()

ortools.constraint_solver.pywrapcp.SearchLimit.Init ( self)
 This method is called when the search limit is initialized.

Definition at line 2840 of file pywrapcp.py.

◆ RefuteDecision()

ortools.constraint_solver.pywrapcp.SearchLimit.RefuteDecision ( self,
d )
 Before refuting the decision.

Reimplemented from ortools.constraint_solver.pywrapcp.SearchMonitor.

Definition at line 2851 of file pywrapcp.py.

Property Documentation

◆ thisown

ortools.constraint_solver.pywrapcp.SearchLimit.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 2820 of file pywrapcp.py.


The documentation for this class was generated from the following file: