Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
Best (self) | |
BeginNextDecision (self, db) | |
RefuteDecision (self, d) | |
AtSolution (self) | |
AcceptSolution (self) | |
DebugString (self) | |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
This class encapsulates an objective. It requires the direction (minimize or maximize), the variable to optimize, and the improvement step.
Definition at line 2781 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.OptimizeVar.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Definition at line 2790 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.OptimizeVar.AcceptSolution | ( | self | ) |
Definition at line 2808 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.OptimizeVar.AtSolution | ( | self | ) |
Definition at line 2805 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.OptimizeVar.BeginNextDecision | ( | self, | |
db ) |
Internal methods.
Definition at line 2798 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.OptimizeVar.Best | ( | self | ) |
Returns the best value found during search.
Definition at line 2794 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.OptimizeVar.DebugString | ( | self | ) |
Definition at line 2811 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.OptimizeVar.RefuteDecision | ( | self, | |
d ) |
Definition at line 2802 of file pywrapcp.py.
|
static |
Definition at line 2788 of file pywrapcp.py.