# \[AMPL 24966\] option rel\_boundtol message

**URL:** <https://discuss.ampl.com/t/ampl-24966-option-rel-boundtol-message/916>\
**Category:** Google Group Mirror\
**Created:** [January 21, 2024, 11:02pm UTC](https://discuss.ampl.com/t/ampl-24966-option-rel-boundtol-message/916 "2024-01-21T23:02:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivi](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/vivi/32/156_2.png) [@Vivi](https://discuss.ampl.com/u/Vivi)\
**Post date:** [January 21, 2024, 11:02pm UTC](https://discuss.ampl.com/t/ampl-24966-option-rel-boundtol-message/916/1 "2024-01-21T23:02:54Z")

</div>

Hi AMPL Team,

I have had the following message in my solving log:

“option rel\_boundtol 9.702931255507551e-06;”  
will change deduced dual values.

I am writing to you to ask what that means and how I can use that recommandation.

Best regards,

---

<div class="post-metadata">

**Author:** ![AMPL\_Google\_Group](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@AMPL\_Google\_Group](https://discuss.ampl.com/u/AMPL_Google_Group)\
**Post date:** [January 23, 2024, 4:42pm UTC](https://discuss.ampl.com/t/ampl-24966-option-rel-boundtol-message/916/2 "2024-01-23T16:42:39Z")

</div>

Usually, you can ignore this message. But if the values of the optimal dual variables (shadow prices) are important to you, then you might be interested in this explanation:

Before a problem is sent to the solver, AMPL’s presolve phase eliminates some constraints that do not make any difference to the solution, or that can be converted to simple bounds on the variables. When the solver returns an optimal solution, it does not contain dual values for the eliminated constraints, so AMPL computes dual values for them. But to compute dual values, AMPL must determine which of the eliminated constraints are “tight” – that is, having no slack.

By default, an eliminated constraint is only considered tight if its slack is zero. However, AMPL’s [rel\_boundtol](https://dev.ampl.com/ampl/options.html#rel-boundtol-r1-default-0) option can be set to a small positive value, to indicate that an eliminated constraint should also be considered tight if its slack is nonzero but very small. The message that you are seeing,

You see this message when changing rel\_boundtol to a small positive value will cause additional eliminated constraints to be considered tight, thus changing the computed (“deduced”) dual values. The message tells you how large rel\_boundtol has to be – in this case, 9.702931255507551e-06 – for a difference in dual values to occur. It would be up to you, however, to decide which setting of rel\_boundtol gives the most appropriate dual values for your application.

---

<div class="post-metadata">

**Author:** ![AMPL\_Google\_Group](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@AMPL\_Google\_Group](https://discuss.ampl.com/u/AMPL_Google_Group)\
**Post date:** [January 23, 2024, 4:48pm UTC](https://discuss.ampl.com/t/ampl-24966-option-rel-boundtol-message/916/3 "2024-01-23T16:48:23Z")

</div>

Usually, you can ignore this message. But if the values of the optimal dual variables (shadow prices) are important to you, then you might be interested in this explanation:

Before a problem is sent to the solver, AMPL’s presolve phase eliminates some constraints that do not make any difference to the solution, or that can be converted to simple bounds on the variables. When the solver returns an optimal solution, it does not contain dual values for the eliminated constraints, so AMPL computes dual values for them. But to compute dual values, AMPL must determine which of the eliminated constraints are “tight” – that is, having no slack.

By default, an eliminated constraint is only considered tight if its slack is zero. However, AMPL’s [rel\_boundtol](https://dev.ampl.com/ampl/options.html#rel-boundtol-r1-default-0) option can be set to a small positive value, to indicate that an eliminated constraint should also be considered tight if its slack is nonzero but very small. The message that you are seeing,

“option rel\_boundtol 9.702931255507551e-06;”  
will change deduced dual values.

appears when when changing rel\_boundtol to a small positive value will cause additional eliminated constraints to be considered tight, thus changing the computed (“deduced”) dual values. The message tells you how large rel\_boundtol has to be – in this case, 9.702931255507551e-06 – for a difference in dual values to occur. It would be up to you, however, to decide which setting of rel\_boundtol gives the most appropriate dual values for your application.

---

<div class="post-metadata">

**Author:** ![Vivi](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/vivi/32/156_2.png) [@Vivi](https://discuss.ampl.com/u/Vivi)\
**Post date:** [January 24, 2024, 12:26am UTC](https://discuss.ampl.com/t/ampl-24966-option-rel-boundtol-message/916/4 "2024-01-24T00:26:20Z")

</div>

Hi M. Robert,

Well noted. Many thanks.
