cp-mod-ref-2019-patchwork

By zayenz

Cp-mod-ref-2019-patchwork Alternatives

Similar projects and alternatives to cp-mod-ref-2019-patchwork

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cp-mod-ref-2019-patchwork alternative or higher similarity.

cp-mod-ref-2019-patchwork reviews and mentions

Posts with mentions or reviews of cp-mod-ref-2019-patchwork. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-06.
  • Ask HN: Comment here about whatever you're passionate about at the moment
    17 projects | news.ycombinator.com | 6 Nov 2023
    Thanks for the link. I think that your version of getting to a reified extensional constraint (your table method) looks like a reasonable way to do it, and probably works quite well for OR-Tools CP-SAT in particular.

    Another way to do it directly is to embed the control variable in the table, with a full set of all possible tuples for when the control variable is false. This, however, gives a large blow-up of the table size, especially for wide tables/long words and might be too expensive. Using compressed/smart/cartesian product tables or MDD constraints if the system supports it would solve this (OR-Tools does not, AFAIK).

    As for the Gecode model, my idea was that the way to model the words using separate element constraint for each letter could reasonably be extended into a model for reified words by changing the element constraints to tables over the triple in the above way. The benefit is that one would not trigger the combinatorial blow-up one gets for the above with a full table over the whole word since it is only a single letter.

    In a related case, I used reified extensional constraints specified using regular expressions in https://github.com/zayenz/cp-mod-ref-2019-patchwork to optionally place polyominoes on a grid.

Stats

Basic cp-mod-ref-2019-patchwork repo stats
1
3
10.0
almost 5 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com