Closed jokasimr closed 1 year ago
Thanks for the report, tagging @ott2 since he wrote that example.
Thanks, this is definitely a bug.
Model 2 is implicitly assuming a particular variable ordering, and is essentially the same incomplete specification as Model 4. To make it correct we need to add a minimising
statement, in the same way that Model 5 fixes Model 4.
Just wondering if you could have a go at fixing this one @ott2? I am thinking it'll be easier for you to fix it since you wrote the example.
@ozgurakgun is this fixed in https://github.com/conjure-cp/conjure/releases/tag/v2.4.0 ?
I don't think so. This is a bug in the docs, just to be clear.
In the tutorial, Model 2: reachability matrix seems to have a bug.
The example from the tutorial, with maximization added to illustrate issue:
With parameter file:
Running
conjure solve -ac graph.essence graph.param
produces the solution:The issue seems to be that in the line
(exists w : vertices . ({u,w} in G) /\ reach[w,v])
can be satisfied by settingreach[u, v] = true /\ reach[w, v] = true
even ifv
is not actually reachable from either vertex.Hope this is not some misunderstanding on my part. If so please disregard this issue.
Thank you for a great tool and amazing documentation!