CpModel and AddExactlyOne

168 views
Skip to first unread message

Lygia Marina

unread,
Jan 16, 2022, 7:38:03 PM1/16/22
to or-tools-discuss
Hi!
I was following this example

But whenever I try to run it, it says CpModel has no attribute called AddExactlyOne. Any way to remake this part using other method?

Laurent Perron

unread,
Jan 16, 2022, 10:51:54 PM1/16/22
to or-tools-discuss
The code on master is ahead of the last release.  If you want to use it, you should recompile OR-Tools from sources. 

--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/c8b4cba4-ce22-4196-a59b-b5997994f3d5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages