You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto name = c.bool_const("v");
auto zero = c.real_val(0,1);
auto one = c.real_val(1,1);
auto expr = (name == (zero == (one / zero)));
s.add(expr);
cout << s.check() << endl;
model m = s.get_model();
cout << m.eval(name,true) << endl;
prints
sat
(= 0.0 (/ 1.0 0.0))
despite eval called with model_completion=true. What I am expecting would be either true or false, since name is declared as a boolean constant.
Is there a way to force eval deciding what (one / zero) should be?
The text was updated successfully, but these errors were encountered:
prints
despite eval called with
model_completion=true
. What I am expecting would be eithertrue
orfalse
, sincename
is declared as a boolean constant.Is there a way to force
eval
deciding what (one / zero) should be?The text was updated successfully, but these errors were encountered: