Give strictly greater value for x ≥ c #7458
Unanswered
leduyquang753
asked this question in
Q&A
Replies: 1 comment
-
Would a reformulation approach where you add an epsilon to any value you are interested in work? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For solving constraints with real numbers, is there a way to make it so that the emitted model gives a strictly greater value for inequalities of the form x ≥ c, where c is a constant (along with other similar inequalities as well)?
For example, if this is run:
Z3 gives
(define-fun x () Real (/ 4.0 11.0))
which is exactly(/ 1.0 2.75)
. When applied in tools, the computation of the value might yield some inaccuracies, so it would be more desirable if the returned value could be "nudged" away from the equal value, say to(/ 1.0 2.0)
(0,5).Beta Was this translation helpful? Give feedback.
All reactions