Google OR-Tools v9.11
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) | |
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") | |
An Assignment is a variable -> domains mapping, used to report solutions to the user.
Definition at line 3406 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 3414 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.__eq__ | ( | self, | |
assignment ) |
Definition at line 3643 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.__ne__ | ( | self, | |
assignment ) |
Definition at line 3646 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Activate | ( | self, | |
* | args ) |
Definition at line 3613 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Activated | ( | self, | |
* | args ) |
Definition at line 3619 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Add | ( | self, | |
* | args ) |
Definition at line 3589 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.AddObjective | ( | self, | |
v ) |
Definition at line 3448 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.BackwardSequence | ( | self, | |
var ) |
Definition at line 3595 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Bound | ( | self, | |
var ) |
Definition at line 3490 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Clear | ( | self | ) |
Definition at line 3418 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Deactivate | ( | self, | |
* | args ) |
Definition at line 3616 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DebugString | ( | self | ) |
Reimplemented from ortools.constraint_solver.pywrapcp.PropagationBaseObject.
Definition at line 3622 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DurationMax | ( | self, | |
var ) |
Definition at line 3517 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DurationMin | ( | self, | |
var ) |
Definition at line 3514 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.DurationValue | ( | self, | |
var ) |
Definition at line 3520 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Empty | ( | self | ) |
Definition at line 3421 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.EndMax | ( | self, | |
var ) |
Definition at line 3526 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.EndMin | ( | self, | |
var ) |
Definition at line 3523 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.EndValue | ( | self, | |
var ) |
Definition at line 3529 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ForwardSequence | ( | self, | |
var ) |
Definition at line 3592 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.HasObjective | ( | self | ) |
Definition at line 3454 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.IntervalVarContainer | ( | self | ) |
Definition at line 3631 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.IntVarContainer | ( | self | ) |
Definition at line 3625 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Load | ( | self, | |
* | args ) |
Definition at line 3442 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Max | ( | self, | |
var ) |
Definition at line 3484 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Min | ( | self, | |
var ) |
Definition at line 3481 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.MutableIntervalVarContainer | ( | self | ) |
Definition at line 3634 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.MutableIntVarContainer | ( | self | ) |
Definition at line 3628 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.MutableSequenceVarContainer | ( | self | ) |
Definition at line 3640 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.NumIntervalVars | ( | self | ) |
Definition at line 3430 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.NumIntVars | ( | self | ) |
Definition at line 3427 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.NumSequenceVars | ( | self | ) |
Definition at line 3433 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Objective | ( | self | ) |
Definition at line 3451 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveBound | ( | self | ) |
Definition at line 3466 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveMax | ( | self | ) |
Definition at line 3460 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveMin | ( | self | ) |
Definition at line 3457 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.ObjectiveValue | ( | self | ) |
Definition at line 3463 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.PerformedMax | ( | self, | |
var ) |
Definition at line 3535 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.PerformedMin | ( | self, | |
var ) |
Definition at line 3532 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.PerformedValue | ( | self, | |
var ) |
Definition at line 3538 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Restore | ( | self | ) |
Definition at line 3439 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Save | ( | self, | |
* | args ) |
Definition at line 3445 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SequenceVarContainer | ( | self | ) |
Definition at line 3637 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetBackwardSequence | ( | self, | |
var, | |||
backward_sequence ) |
Definition at line 3607 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationMax | ( | self, | |
var, | |||
m ) |
Definition at line 3556 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationMin | ( | self, | |
var, | |||
m ) |
Definition at line 3553 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3559 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetDurationValue | ( | self, | |
var, | |||
value ) |
Definition at line 3562 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndMax | ( | self, | |
var, | |||
m ) |
Definition at line 3568 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndMin | ( | self, | |
var, | |||
m ) |
Definition at line 3565 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3571 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetEndValue | ( | self, | |
var, | |||
value ) |
Definition at line 3574 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetForwardSequence | ( | self, | |
var, | |||
forward_sequence ) |
Definition at line 3604 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetMax | ( | self, | |
var, | |||
m ) |
Definition at line 3496 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetMin | ( | self, | |
var, | |||
m ) |
Definition at line 3493 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveMax | ( | self, | |
m ) |
Definition at line 3472 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveMin | ( | self, | |
m ) |
Definition at line 3469 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveRange | ( | self, | |
l, | |||
u ) |
Definition at line 3478 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetObjectiveValue | ( | self, | |
value ) |
Definition at line 3475 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedMax | ( | self, | |
var, | |||
m ) |
Definition at line 3580 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedMin | ( | self, | |
var, | |||
m ) |
Definition at line 3577 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3583 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetPerformedValue | ( | self, | |
var, | |||
value ) |
Definition at line 3586 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetRange | ( | self, | |
var, | |||
l, | |||
u ) |
Definition at line 3499 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetSequence | ( | self, | |
var, | |||
forward_sequence, | |||
backward_sequence, | |||
unperformed ) |
Definition at line 3601 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartMax | ( | self, | |
var, | |||
m ) |
Definition at line 3544 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartMin | ( | self, | |
var, | |||
m ) |
Definition at line 3541 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartRange | ( | self, | |
var, | |||
mi, | |||
ma ) |
Definition at line 3547 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetStartValue | ( | self, | |
var, | |||
value ) |
Definition at line 3550 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetUnperformed | ( | self, | |
var, | |||
unperformed ) |
Definition at line 3610 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.SetValue | ( | self, | |
var, | |||
value ) |
Definition at line 3502 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Size | ( | self | ) |
Definition at line 3424 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.StartMax | ( | self, | |
var ) |
Definition at line 3508 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.StartMin | ( | self, | |
var ) |
Definition at line 3505 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.StartValue | ( | self, | |
var ) |
Definition at line 3511 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Store | ( | self | ) |
Definition at line 3436 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Unperformed | ( | self, | |
var ) |
Definition at line 3598 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.Assignment.Value | ( | self, | |
var ) |
Definition at line 3487 of file pywrapcp.py.
|
static |
Definition at line 3412 of file pywrapcp.py.