![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
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) | |
![]() | |
__init__ (self, s) | |
solver (self) | |
Name (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") | |
An Assignment is a variable -> domains mapping, used to report solutions to the user.
Definition at line 3641 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Definition at line 3649 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.__eq__ | ( | self, | |
assignment ) |
Definition at line 3883 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.__ne__ | ( | self, | |
assignment ) |
Definition at line 3886 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Activate | ( | self, | |
* | args ) |
Definition at line 3853 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Activated | ( | self, | |
* | args ) |
Definition at line 3859 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Add | ( | self, | |
* | args ) |
Definition at line 3829 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.AddObjective | ( | self, | |
v ) |
Definition at line 3688 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.BackwardSequence | ( | self, | |
var ) |
Definition at line 3835 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Bound | ( | self, | |
var ) |
Definition at line 3730 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Clear | ( | self | ) |
Definition at line 3653 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Deactivate | ( | self, | |
* | args ) |
Definition at line 3856 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DebugString | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 3862 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DurationMax | ( | self, | |
var ) |
Definition at line 3757 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DurationMin | ( | self, | |
var ) |
Definition at line 3754 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DurationValue | ( | self, | |
var ) |
Definition at line 3760 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Empty | ( | self | ) |
Definition at line 3656 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.EndMax | ( | self, | |
var ) |
Definition at line 3766 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.EndMin | ( | self, | |
var ) |
Definition at line 3763 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.EndValue | ( | self, | |
var ) |
Definition at line 3769 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ForwardSequence | ( | self, | |
var ) |
Definition at line 3832 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.HasObjective | ( | self | ) |
Definition at line 3694 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.IntervalVarContainer | ( | self | ) |
Definition at line 3871 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.IntVarContainer | ( | self | ) |
Definition at line 3865 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Load | ( | self, | |
* | args ) |
Loads an assignment from a file; does not add variables to the assignment (only the variables contained in the assignment are modified).
Definition at line 3677 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Max | ( | self, | |
var ) |
Definition at line 3724 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Min | ( | self, | |
var ) |
Definition at line 3721 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.MutableIntervalVarContainer | ( | self | ) |
Definition at line 3874 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.MutableIntVarContainer | ( | self | ) |
Definition at line 3868 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.MutableSequenceVarContainer | ( | self | ) |
Definition at line 3880 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.NumIntervalVars | ( | self | ) |
Definition at line 3665 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.NumIntVars | ( | self | ) |
Definition at line 3662 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.NumSequenceVars | ( | self | ) |
Definition at line 3668 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Objective | ( | self | ) |
Definition at line 3691 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveBound | ( | self | ) |
Definition at line 3706 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveMax | ( | self | ) |
Definition at line 3700 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveMin | ( | self | ) |
Definition at line 3697 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveValue | ( | self | ) |
Definition at line 3703 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.PerformedMax | ( | self, | |
var ) |
Definition at line 3775 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.PerformedMin | ( | self, | |
var ) |
Definition at line 3772 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.PerformedValue | ( | self, | |
var ) |
Definition at line 3778 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Restore | ( | self | ) |
Definition at line 3674 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Save | ( | self, | |
* | args ) |
Saves the assignment to a file.
Definition at line 3684 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SequenceVarContainer | ( | self | ) |
Definition at line 3877 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetBackwardSequence | ( | self, | |
var, | |||
backward_sequence ) |
Definition at line 3847 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationMax | ( | self, | |
var, | |||
m ) |
Definition at line 3796 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationMin | ( | self, | |
var, | |||
m ) |
Definition at line 3793 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3799 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationValue | ( | self, | |
var, | |||
value ) |
Definition at line 3802 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndMax | ( | self, | |
var, | |||
m ) |
Definition at line 3808 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndMin | ( | self, | |
var, | |||
m ) |
Definition at line 3805 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3811 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndValue | ( | self, | |
var, | |||
value ) |
Definition at line 3814 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetForwardSequence | ( | self, | |
var, | |||
forward_sequence ) |
Definition at line 3844 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetMax | ( | self, | |
var, | |||
m ) |
Definition at line 3736 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetMin | ( | self, | |
var, | |||
m ) |
Definition at line 3733 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveMax | ( | self, | |
m ) |
Definition at line 3712 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveMin | ( | self, | |
m ) |
Definition at line 3709 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveRange | ( | self, | |
l, | |||
u ) |
Definition at line 3718 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveValue | ( | self, | |
value ) |
Definition at line 3715 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedMax | ( | self, | |
var, | |||
m ) |
Definition at line 3820 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedMin | ( | self, | |
var, | |||
m ) |
Definition at line 3817 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3823 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedValue | ( | self, | |
var, | |||
value ) |
Definition at line 3826 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetRange | ( | self, | |
var, | |||
l, | |||
u ) |
Definition at line 3739 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetSequence | ( | self, | |
var, | |||
forward_sequence, | |||
backward_sequence, | |||
unperformed ) |
Definition at line 3841 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartMax | ( | self, | |
var, | |||
m ) |
Definition at line 3784 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartMin | ( | self, | |
var, | |||
m ) |
Definition at line 3781 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3787 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartValue | ( | self, | |
var, | |||
value ) |
Definition at line 3790 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetUnperformed | ( | self, | |
var, | |||
unperformed ) |
Definition at line 3850 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetValue | ( | self, | |
var, | |||
value ) |
Definition at line 3742 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Size | ( | self | ) |
Definition at line 3659 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.StartMax | ( | self, | |
var ) |
Definition at line 3748 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.StartMin | ( | self, | |
var ) |
Definition at line 3745 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.StartValue | ( | self, | |
var ) |
Definition at line 3751 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Store | ( | self | ) |
Definition at line 3671 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Unperformed | ( | self, | |
var ) |
Definition at line 3838 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Value | ( | self, | |
var ) |
Definition at line 3727 of file pywrapcp.py.
|
static |
Definition at line 3647 of file pywrapcp.py.