Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Functions | |
_swig_repr (self) | |
_swig_setattr_nondynamic_instance_variable (set) | |
_swig_setattr_nondynamic_class_variable (set) | |
_swig_add_metaclass (metaclass) | |
__lshift__ (*args) | |
DefaultRoutingModelParameters () | |
DefaultRoutingSearchParameters () | |
FindErrorInRoutingSearchParameters (search_parameters) | |
SolveModelWithSat (model, search_parameters, initial_solution, solution) | |
Variables | |
BOOL_UNSPECIFIED = _pywrapcp.BOOL_UNSPECIFIED | |
BOOL_FALSE = _pywrapcp.BOOL_FALSE | |
BOOL_TRUE = _pywrapcp.BOOL_TRUE | |
cvar = _pywrapcp.cvar | |
kNoPenalty | |
kNoDisjunction | |
kNoDimension | |
ortools.constraint_solver.pywrapcp.__lshift__ | ( | * | args | ) |
Definition at line 3652 of file pywrapcp.py.
|
protected |
Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass
Definition at line 49 of file pywrapcp.py.
|
protected |
Definition at line 19 of file pywrapcp.py.
|
protected |
Definition at line 40 of file pywrapcp.py.
|
protected |
Definition at line 27 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DefaultRoutingModelParameters | ( | ) |
Definition at line 4572 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.DefaultRoutingSearchParameters | ( | ) |
Definition at line 4575 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.FindErrorInRoutingSearchParameters | ( | search_parameters | ) |
Returns an empty std::string if the routing search parameters are valid, and a non-empty, human readable error description if they're not.
Definition at line 4578 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.SolveModelWithSat | ( | model, | |
search_parameters, | |||
initial_solution, | |||
solution ) |
Attempts to solve the model using the cp-sat solver. As of 5/2019, will solve the TSP corresponding to the model if it has a single vehicle. Therefore the resulting solution might not actually be feasible. Will return false if a solution could not be found.
Definition at line 6463 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.BOOL_FALSE = _pywrapcp.BOOL_FALSE |
Definition at line 4585 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.BOOL_TRUE = _pywrapcp.BOOL_TRUE |
Definition at line 4586 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.BOOL_UNSPECIFIED = _pywrapcp.BOOL_UNSPECIFIED |
Definition at line 4584 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.cvar = _pywrapcp.cvar |
Definition at line 5962 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.kNoDimension |
Definition at line 5965 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.kNoDisjunction |
Definition at line 5964 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.kNoPenalty |
Definition at line 5963 of file pywrapcp.py.