Hello!
I was trying to find answers to my questions here, but no success. If I missed something please point me to the right correspondence.
I am using CP-SAT with python (can switch to c++ if it easier to get what I want with c++).
I have these questions:
1. Is there a way to filter list of variables? Lets say I have a list X of 10 boolean vars. I know that only 4 going to be true. How do I know the indices of these 4 x[i]'s?
2. I have a list of boolean variables X[i_1, j, k]. Is there a way to say to the solver that if it already tried the assignment x[i_1, j, 1] then no need to try x[i_1, j 2], or any other x[i_1,j, k] for that matter? How do I introduce new heuristic, and how do I define it?
3. How to use strategies? I cannot find any guide on it.
4. Is it possible to make a new variable with domain based on some other variable? (I guess the answer is "no", but maybe there is workaround with some sort of 2 step model)?
5. Why solver spits out:
Unsupported constraint type kIntProd
Thank you,
Pete
--
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/e356d6a1-1552-4db1-a242-08e06b8a5a81n%40googlegroups.com.