![]() |
Google OR-Tools v9.14
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 3892 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 4776 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.DefaultRoutingSearchParameters | ( | ) |
Definition at line 4779 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 4782 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 6771 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.BOOL_FALSE = _pywrapcp.BOOL_FALSE |
Definition at line 4789 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.BOOL_TRUE = _pywrapcp.BOOL_TRUE |
Definition at line 4790 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.BOOL_UNSPECIFIED = _pywrapcp.BOOL_UNSPECIFIED |
Definition at line 4788 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.cvar = _pywrapcp.cvar |
Definition at line 6254 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.kNoDimension |
Definition at line 6257 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.kNoDisjunction |
Definition at line 6256 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.kNoPenalty |
Definition at line 6255 of file pywrapcp.py.