Skip to content
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

Returned solution is not complete #716

Closed
Wout4 opened this issue Jul 10, 2023 · 2 comments
Closed

Returned solution is not complete #716

Wout4 opened this issue Jul 10, 2023 · 2 comments
Assignees
Labels
bug resolved Issue is resolved and the feature or fix will be part of next release

Comments

@Wout4
Copy link

Wout4 commented Jul 10, 2023

the following model does not give a value for every variable after solving:


var bool: BV9;
var bool: BV8;
var bool: BV7;
var bool: BV4;

constraint (BV9) \/ ((not BV8) == (BV7));
constraint ((not BV8) == (BV7)) == (BV4);
constraint BV4;

output:
(solver used : gecode 6.3.0)

BV9 = false;
BV8 = true;
BV7 = false;
BV4 = BV4;

I am assuming this is a problem with CSE, where the variable BV4 get's pruned away, so we do not get a value for it.
This bug does not occur when selecting Coin-BC as the solver

@cyderize cyderize added the bug label Jul 11, 2023
@Dekker1 Dekker1 self-assigned this Jul 11, 2023
@Dekker1 Dekker1 added the resolved Issue is resolved and the feature or fix will be part of next release label Jul 11, 2023
@Dekker1
Copy link
Member

Dekker1 commented Jul 11, 2023

This issue is resolved by e50d667 (but I forgot to put it in the message)

@cyderize
Copy link
Member

This should now be fixed in 2.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug resolved Issue is resolved and the feature or fix will be part of next release
Projects
None yet
Development

No branches or pull requests

3 participants