Hi,
I know, this is a recurring problem as SWIG does not import C++ documentation.
This being said, it depends on which solver you are using:
- constraint_solver: This is deprecated, see CP/SAT below.
- routing: The Python API is very close to the C++ routing.h API. See ortools/constraint_solver/routing.h and the python examples.
- linear_solver: The API is minimal, and completely exposed in integer_programming.py and linear_programming.py
- CP/SAT: The (rough) doc is is ortools/sat/python/cp_model.py. You can run pydoc on it and look at ortools/sat/cp_model.proto.
I hope this helps.