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

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 Clear (self)
 
 Empty (self)
 
 Size (self)
 
 NumIntVars (self)
 
 NumIntervalVars (self)
 
 NumSequenceVars (self)
 
 Store (self)
 
 Restore (self)
 
 Load (self, *args)
 
 Save (self, *args)
 
 AddObjective (self, v)
 
 Objective (self)
 
 HasObjective (self)
 
 ObjectiveMin (self)
 
 ObjectiveMax (self)
 
 ObjectiveValue (self)
 
 ObjectiveBound (self)
 
 SetObjectiveMin (self, m)
 
 SetObjectiveMax (self, m)
 
 SetObjectiveValue (self, value)
 
 SetObjectiveRange (self, l, u)
 
 Min (self, var)
 
 Max (self, var)
 
 Value (self, var)
 
 Bound (self, var)
 
 SetMin (self, var, m)
 
 SetMax (self, var, m)
 
 SetRange (self, var, l, u)
 
 SetValue (self, var, value)
 
 StartMin (self, var)
 
 StartMax (self, var)
 
 StartValue (self, var)
 
 DurationMin (self, var)
 
 DurationMax (self, var)
 
 DurationValue (self, var)
 
 EndMin (self, var)
 
 EndMax (self, var)
 
 EndValue (self, var)
 
 PerformedMin (self, var)
 
 PerformedMax (self, var)
 
 PerformedValue (self, var)
 
 SetStartMin (self, var, m)
 
 SetStartMax (self, var, m)
 
 SetStartRange (self, var, mi, ma)
 
 SetStartValue (self, var, value)
 
 SetDurationMin (self, var, m)
 
 SetDurationMax (self, var, m)
 
 SetDurationRange (self, var, mi, ma)
 
 SetDurationValue (self, var, value)
 
 SetEndMin (self, var, m)
 
 SetEndMax (self, var, m)
 
 SetEndRange (self, var, mi, ma)
 
 SetEndValue (self, var, value)
 
 SetPerformedMin (self, var, m)
 
 SetPerformedMax (self, var, m)
 
 SetPerformedRange (self, var, mi, ma)
 
 SetPerformedValue (self, var, value)
 
 Add (self, *args)
 
 ForwardSequence (self, var)
 
 BackwardSequence (self, var)
 
 Unperformed (self, var)
 
 SetSequence (self, var, forward_sequence, backward_sequence, unperformed)
 
 SetForwardSequence (self, var, forward_sequence)
 
 SetBackwardSequence (self, var, backward_sequence)
 
 SetUnperformed (self, var, unperformed)
 
 Activate (self, *args)
 
 Deactivate (self, *args)
 
 Activated (self, *args)
 
 DebugString (self)
 
 IntVarContainer (self)
 
 MutableIntVarContainer (self)
 
 IntervalVarContainer (self)
 
 MutableIntervalVarContainer (self)
 
 SequenceVarContainer (self)
 
 MutableSequenceVarContainer (self)
 
 __eq__ (self, assignment)
 
 __ne__ (self, assignment)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.PropagationBaseObject
 solver (self)
 
 Name (self)
 
 __disown__ (self)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.BaseObject
 __str__ (self)
 
 __repr__ (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.PropagationBaseObject
 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")
 

Detailed Description

An Assignment is a variable -> domains mapping, used
to report solutions to the user.

Definition at line 3406 of file pywrapcp.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.

Definition at line 3414 of file pywrapcp.py.

Member Function Documentation

◆ __eq__()

ortools.constraint_solver.pywrapcp.Assignment.__eq__ ( self,
assignment )

Definition at line 3643 of file pywrapcp.py.

◆ __ne__()

ortools.constraint_solver.pywrapcp.Assignment.__ne__ ( self,
assignment )

Definition at line 3646 of file pywrapcp.py.

◆ Activate()

ortools.constraint_solver.pywrapcp.Assignment.Activate ( self,
* args )

Definition at line 3613 of file pywrapcp.py.

◆ Activated()

ortools.constraint_solver.pywrapcp.Assignment.Activated ( self,
* args )

Definition at line 3619 of file pywrapcp.py.

◆ Add()

ortools.constraint_solver.pywrapcp.Assignment.Add ( self,
* args )

Definition at line 3589 of file pywrapcp.py.

◆ AddObjective()

ortools.constraint_solver.pywrapcp.Assignment.AddObjective ( self,
v )

Definition at line 3448 of file pywrapcp.py.

◆ BackwardSequence()

ortools.constraint_solver.pywrapcp.Assignment.BackwardSequence ( self,
var )

Definition at line 3595 of file pywrapcp.py.

◆ Bound()

ortools.constraint_solver.pywrapcp.Assignment.Bound ( self,
var )

Definition at line 3490 of file pywrapcp.py.

◆ Clear()

ortools.constraint_solver.pywrapcp.Assignment.Clear ( self)

Definition at line 3418 of file pywrapcp.py.

◆ Deactivate()

ortools.constraint_solver.pywrapcp.Assignment.Deactivate ( self,
* args )

Definition at line 3616 of file pywrapcp.py.

◆ DebugString()

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

Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.

Definition at line 3622 of file pywrapcp.py.

◆ DurationMax()

ortools.constraint_solver.pywrapcp.Assignment.DurationMax ( self,
var )

Definition at line 3517 of file pywrapcp.py.

◆ DurationMin()

ortools.constraint_solver.pywrapcp.Assignment.DurationMin ( self,
var )

Definition at line 3514 of file pywrapcp.py.

◆ DurationValue()

ortools.constraint_solver.pywrapcp.Assignment.DurationValue ( self,
var )

Definition at line 3520 of file pywrapcp.py.

◆ Empty()

ortools.constraint_solver.pywrapcp.Assignment.Empty ( self)

Definition at line 3421 of file pywrapcp.py.

◆ EndMax()

ortools.constraint_solver.pywrapcp.Assignment.EndMax ( self,
var )

Definition at line 3526 of file pywrapcp.py.

◆ EndMin()

ortools.constraint_solver.pywrapcp.Assignment.EndMin ( self,
var )

Definition at line 3523 of file pywrapcp.py.

◆ EndValue()

ortools.constraint_solver.pywrapcp.Assignment.EndValue ( self,
var )

Definition at line 3529 of file pywrapcp.py.

◆ ForwardSequence()

ortools.constraint_solver.pywrapcp.Assignment.ForwardSequence ( self,
var )

Definition at line 3592 of file pywrapcp.py.

◆ HasObjective()

ortools.constraint_solver.pywrapcp.Assignment.HasObjective ( self)

Definition at line 3454 of file pywrapcp.py.

◆ IntervalVarContainer()

ortools.constraint_solver.pywrapcp.Assignment.IntervalVarContainer ( self)

Definition at line 3631 of file pywrapcp.py.

◆ IntVarContainer()

ortools.constraint_solver.pywrapcp.Assignment.IntVarContainer ( self)

Definition at line 3625 of file pywrapcp.py.

◆ Load()

ortools.constraint_solver.pywrapcp.Assignment.Load ( self,
* args )

Definition at line 3442 of file pywrapcp.py.

◆ Max()

ortools.constraint_solver.pywrapcp.Assignment.Max ( self,
var )

Definition at line 3484 of file pywrapcp.py.

◆ Min()

ortools.constraint_solver.pywrapcp.Assignment.Min ( self,
var )

Definition at line 3481 of file pywrapcp.py.

◆ MutableIntervalVarContainer()

ortools.constraint_solver.pywrapcp.Assignment.MutableIntervalVarContainer ( self)

Definition at line 3634 of file pywrapcp.py.

◆ MutableIntVarContainer()

ortools.constraint_solver.pywrapcp.Assignment.MutableIntVarContainer ( self)

Definition at line 3628 of file pywrapcp.py.

◆ MutableSequenceVarContainer()

ortools.constraint_solver.pywrapcp.Assignment.MutableSequenceVarContainer ( self)

Definition at line 3640 of file pywrapcp.py.

◆ NumIntervalVars()

ortools.constraint_solver.pywrapcp.Assignment.NumIntervalVars ( self)

Definition at line 3430 of file pywrapcp.py.

◆ NumIntVars()

ortools.constraint_solver.pywrapcp.Assignment.NumIntVars ( self)

Definition at line 3427 of file pywrapcp.py.

◆ NumSequenceVars()

ortools.constraint_solver.pywrapcp.Assignment.NumSequenceVars ( self)

Definition at line 3433 of file pywrapcp.py.

◆ Objective()

ortools.constraint_solver.pywrapcp.Assignment.Objective ( self)

Definition at line 3451 of file pywrapcp.py.

◆ ObjectiveBound()

ortools.constraint_solver.pywrapcp.Assignment.ObjectiveBound ( self)

Definition at line 3466 of file pywrapcp.py.

◆ ObjectiveMax()

ortools.constraint_solver.pywrapcp.Assignment.ObjectiveMax ( self)

Definition at line 3460 of file pywrapcp.py.

◆ ObjectiveMin()

ortools.constraint_solver.pywrapcp.Assignment.ObjectiveMin ( self)

Definition at line 3457 of file pywrapcp.py.

◆ ObjectiveValue()

ortools.constraint_solver.pywrapcp.Assignment.ObjectiveValue ( self)

Definition at line 3463 of file pywrapcp.py.

◆ PerformedMax()

ortools.constraint_solver.pywrapcp.Assignment.PerformedMax ( self,
var )

Definition at line 3535 of file pywrapcp.py.

◆ PerformedMin()

ortools.constraint_solver.pywrapcp.Assignment.PerformedMin ( self,
var )

Definition at line 3532 of file pywrapcp.py.

◆ PerformedValue()

ortools.constraint_solver.pywrapcp.Assignment.PerformedValue ( self,
var )

Definition at line 3538 of file pywrapcp.py.

◆ Restore()

ortools.constraint_solver.pywrapcp.Assignment.Restore ( self)

Definition at line 3439 of file pywrapcp.py.

◆ Save()

ortools.constraint_solver.pywrapcp.Assignment.Save ( self,
* args )

Definition at line 3445 of file pywrapcp.py.

◆ SequenceVarContainer()

ortools.constraint_solver.pywrapcp.Assignment.SequenceVarContainer ( self)

Definition at line 3637 of file pywrapcp.py.

◆ SetBackwardSequence()

ortools.constraint_solver.pywrapcp.Assignment.SetBackwardSequence ( self,
var,
backward_sequence )

Definition at line 3607 of file pywrapcp.py.

◆ SetDurationMax()

ortools.constraint_solver.pywrapcp.Assignment.SetDurationMax ( self,
var,
m )

Definition at line 3556 of file pywrapcp.py.

◆ SetDurationMin()

ortools.constraint_solver.pywrapcp.Assignment.SetDurationMin ( self,
var,
m )

Definition at line 3553 of file pywrapcp.py.

◆ SetDurationRange()

ortools.constraint_solver.pywrapcp.Assignment.SetDurationRange ( self,
var,
mi,
ma )

Definition at line 3559 of file pywrapcp.py.

◆ SetDurationValue()

ortools.constraint_solver.pywrapcp.Assignment.SetDurationValue ( self,
var,
value )

Definition at line 3562 of file pywrapcp.py.

◆ SetEndMax()

ortools.constraint_solver.pywrapcp.Assignment.SetEndMax ( self,
var,
m )

Definition at line 3568 of file pywrapcp.py.

◆ SetEndMin()

ortools.constraint_solver.pywrapcp.Assignment.SetEndMin ( self,
var,
m )

Definition at line 3565 of file pywrapcp.py.

◆ SetEndRange()

ortools.constraint_solver.pywrapcp.Assignment.SetEndRange ( self,
var,
mi,
ma )

Definition at line 3571 of file pywrapcp.py.

◆ SetEndValue()

ortools.constraint_solver.pywrapcp.Assignment.SetEndValue ( self,
var,
value )

Definition at line 3574 of file pywrapcp.py.

◆ SetForwardSequence()

ortools.constraint_solver.pywrapcp.Assignment.SetForwardSequence ( self,
var,
forward_sequence )

Definition at line 3604 of file pywrapcp.py.

◆ SetMax()

ortools.constraint_solver.pywrapcp.Assignment.SetMax ( self,
var,
m )

Definition at line 3496 of file pywrapcp.py.

◆ SetMin()

ortools.constraint_solver.pywrapcp.Assignment.SetMin ( self,
var,
m )

Definition at line 3493 of file pywrapcp.py.

◆ SetObjectiveMax()

ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveMax ( self,
m )

Definition at line 3472 of file pywrapcp.py.

◆ SetObjectiveMin()

ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveMin ( self,
m )

Definition at line 3469 of file pywrapcp.py.

◆ SetObjectiveRange()

ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveRange ( self,
l,
u )

Definition at line 3478 of file pywrapcp.py.

◆ SetObjectiveValue()

ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveValue ( self,
value )

Definition at line 3475 of file pywrapcp.py.

◆ SetPerformedMax()

ortools.constraint_solver.pywrapcp.Assignment.SetPerformedMax ( self,
var,
m )

Definition at line 3580 of file pywrapcp.py.

◆ SetPerformedMin()

ortools.constraint_solver.pywrapcp.Assignment.SetPerformedMin ( self,
var,
m )

Definition at line 3577 of file pywrapcp.py.

◆ SetPerformedRange()

ortools.constraint_solver.pywrapcp.Assignment.SetPerformedRange ( self,
var,
mi,
ma )

Definition at line 3583 of file pywrapcp.py.

◆ SetPerformedValue()

ortools.constraint_solver.pywrapcp.Assignment.SetPerformedValue ( self,
var,
value )

Definition at line 3586 of file pywrapcp.py.

◆ SetRange()

ortools.constraint_solver.pywrapcp.Assignment.SetRange ( self,
var,
l,
u )

Definition at line 3499 of file pywrapcp.py.

◆ SetSequence()

ortools.constraint_solver.pywrapcp.Assignment.SetSequence ( self,
var,
forward_sequence,
backward_sequence,
unperformed )

Definition at line 3601 of file pywrapcp.py.

◆ SetStartMax()

ortools.constraint_solver.pywrapcp.Assignment.SetStartMax ( self,
var,
m )

Definition at line 3544 of file pywrapcp.py.

◆ SetStartMin()

ortools.constraint_solver.pywrapcp.Assignment.SetStartMin ( self,
var,
m )

Definition at line 3541 of file pywrapcp.py.

◆ SetStartRange()

ortools.constraint_solver.pywrapcp.Assignment.SetStartRange ( self,
var,
mi,
ma )

Definition at line 3547 of file pywrapcp.py.

◆ SetStartValue()

ortools.constraint_solver.pywrapcp.Assignment.SetStartValue ( self,
var,
value )

Definition at line 3550 of file pywrapcp.py.

◆ SetUnperformed()

ortools.constraint_solver.pywrapcp.Assignment.SetUnperformed ( self,
var,
unperformed )

Definition at line 3610 of file pywrapcp.py.

◆ SetValue()

ortools.constraint_solver.pywrapcp.Assignment.SetValue ( self,
var,
value )

Definition at line 3502 of file pywrapcp.py.

◆ Size()

ortools.constraint_solver.pywrapcp.Assignment.Size ( self)

Definition at line 3424 of file pywrapcp.py.

◆ StartMax()

ortools.constraint_solver.pywrapcp.Assignment.StartMax ( self,
var )

Definition at line 3508 of file pywrapcp.py.

◆ StartMin()

ortools.constraint_solver.pywrapcp.Assignment.StartMin ( self,
var )

Definition at line 3505 of file pywrapcp.py.

◆ StartValue()

ortools.constraint_solver.pywrapcp.Assignment.StartValue ( self,
var )

Definition at line 3511 of file pywrapcp.py.

◆ Store()

ortools.constraint_solver.pywrapcp.Assignment.Store ( self)

Definition at line 3436 of file pywrapcp.py.

◆ Unperformed()

ortools.constraint_solver.pywrapcp.Assignment.Unperformed ( self,
var )

Definition at line 3598 of file pywrapcp.py.

◆ Value()

ortools.constraint_solver.pywrapcp.Assignment.Value ( self,
var )

Definition at line 3487 of file pywrapcp.py.

Property Documentation

◆ thisown

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

Definition at line 3412 of file pywrapcp.py.


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