-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Expression Compilation #953
Comments
Hello First of all, using About the decomposition itself: on a call to I can see one possible solution, but it seems very specific. That said, I agree that there is a need for a deep analysis of expressions. For instance, scalar product could be detected and posted. One could also think of a behavior close to what is done for continuous expressions. They can either be turned into Ibex constraints or embedded into an equation constraint that applies HC4 algorithm. |
Hi Charles, I missed your answer, but my investigation leads me to the same conclusion. I also encounters the lack of detection for scalar/sum constraints. Thanks. Now, I am sure about how to solve my main problem (AND). Do you have any references about the simplification of an arithmetic expression ? |
Hi, I have another question related to the expression. What has changed since version 4.10.6 ? Thanks. |
Many things :) |
I didn't find anything really useful, but I admit I didn't look very long. |
Not now because it it not immediate to extract a minimal complete example from my code. |
You can have a look at this thread, which maybe a good starting point. But, it seems that a rewriting rules system is needed |
Hi choco team,
I hope that you are doing well.
Is your feature request related to a problem? Please describe.
Choco provides a convenient expression builder that is then compiled into a set of constraints.
It is a complicated task, but some improvements seems possible.
For instance, reification is not needed when there is a simple conjunction of constraint.
Let us consider the following model.
The output is the following.
Describe the solution you'd like
I want the conjunction to be posted as independent constraints.
Describe alternatives you've considered
The immediate answer is to post multiple constraints, but, in my case, the expression is also built automatically.
The text was updated successfully, but these errors were encountered: