Error Messages/42492


Example Message

 Bound check: Out of range
  
 The computed value for Variable Step_Reward is not consistent with its domain specification
 because the discrete domain is configured to disallow the textual value, 'None', in the result
 at cell coordinate
    Step = 15
  
 Do you want to stop evaluating and edit the definition?

Cause

In the above example, the variable Step_reward has a domain attribute specified, which is set up in such a manner that indicates that textual values are not allowed. For example, in the example that generated the above message, it was set to type "Discrete", with the type set to "Numbers".

This message is really just advising you of a potential mistake, but it does not prevent you from continuing. If you press No, evaluation will continue. But this message often catches errors that have been inadvertently injected into your model, often when changes have been made long after the original model was created. So, when you see this, it is recommended to stop (press Yes) and review the model to see if there is a logic error.

Remedies

If you want to allow non-textual values, then change the domain to "All", for example, so as to allow all types.

You can also suppress this domain bounds checking, either globally by turning off "Check value bounds .. against domain bounds", or you can suppress the check for this variable only by setting the UseCheck attribute to 0 (or to 5 if you want to keep the Check attribute active). The only way to set the UseCheck attribute is from the typescript window, by typing, e.g.:

UseCheck Step_reward: 5

you would, of course, replace Step_reward with the name of your own variable.

See Also

Comments


You are not allowed to post comments.