I'm coding TSPTW, and I need to embed subtour elimination constraint. However, I have to write it on my own as a class, contrary to already existing constraints like AllDifferent. I need to see and compile some little examples (in a problem) to figure out how the whole thing works. I should learn how to define constraint classes. Would you please give me such examples?