Topic
  • 2 replies
  • Latest Post - ‏2012-11-22T22:37:31Z by SystemAdmin
SystemAdmin
SystemAdmin
554 Posts

Pinned topic Constraint Class; TSP

‏2012-11-20T16:36:45Z |
Hi there,

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?

Thanks.
Updated on 2012-11-22T22:37:31Z at 2012-11-22T22:37:31Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    554 Posts

    Re: Constraint Class; TSP

    ‏2012-11-22T16:38:59Z  
    In the CP Optimizer Extensions User’s Manual, the chapter "Writing complex custom constraints" contains all the details you need for designing your own constraints in CP Optimizer.

    Philippe
  • SystemAdmin
    SystemAdmin
    554 Posts

    Re: Constraint Class; TSP

    ‏2012-11-22T22:37:31Z  
    In the CP Optimizer Extensions User’s Manual, the chapter "Writing complex custom constraints" contains all the details you need for designing your own constraints in CP Optimizer.

    Philippe
    Thanks! ;)