Difference between revisions of "Error Messages/41110"
(Created page with '= Example Message = Decision Num_active_employees fails to satisfy check: Num_active_employees < Max_employees. Do you want to stop evaluating and edit the definition?…') |
|||
Line 1: | Line 1: | ||
− | + | [[Category: Error messages]] | |
+ | == Example message == | ||
+ | |||
+ | <pre style="background:white; border:white; margin-left: 1em; font-style:italic"> | ||
Decision Num_active_employees fails to satisfy check: Num_active_employees < Max_employees. | Decision Num_active_employees fails to satisfy check: Num_active_employees < Max_employees. | ||
| | ||
Do you want to stop evaluating and edit the definition? | Do you want to stop evaluating and edit the definition? | ||
[Yes] [No] [Cancel] | [Yes] [No] [Cancel] | ||
+ | </pre> | ||
− | = Cause = | + | == Cause == |
The condition specified in a [[Check Attribute]] is violated. | The condition specified in a [[Check Attribute]] is violated. | ||
Line 12: | Line 16: | ||
To help catch errors that may be introduced into your model, or range errors in user inputs, a model builder can specified ''[[Check Attribute|check conditions]]'' on selected variables. A [[Check Attribute|check condition]] specifies a condition on a computed value that must be satisfied. Failure of a check condition may mean that an error has been introduced into your model, or that an input exceeds the ranges supported by the model's logic. | To help catch errors that may be introduced into your model, or range errors in user inputs, a model builder can specified ''[[Check Attribute|check conditions]]'' on selected variables. A [[Check Attribute|check condition]] specifies a condition on a computed value that must be satisfied. Failure of a check condition may mean that an error has been introduced into your model, or that an input exceeds the ranges supported by the model's logic. | ||
− | In the example, the check condition is on the ''Decision'' variable named | + | In the example, the check condition is on the ''Decision'' variable named <code>Num_active_employees</code>. The check condition is an expression that is entered into the [[Check Attribute]]. In this example, the [[Check Attribute]] of the decision variable <code>Num_active_employees</code> is set to: |
− | + | :<code>Num_active_employees < Max_employees</code> | |
− | It may be that | + | It may be that <code>Num_active_employees</code> evaluated to 15000 and Max_employees is 15000, thus triggering this warning. |
− | These warnings can be turned off by de-selecting the [[Preferences#Check_value_bounds|Check Value Bounds]] preference on the [[Preferences|Preference Dialog]]. For a particular warning, you can continue the computation even though the condition is violated by simply answering | + | These warnings can be turned off by de-selecting the [[Preferences#Check_value_bounds|Check Value Bounds]] preference on the [[Preferences|Preference Dialog]]. For a particular warning, you can continue the computation even though the condition is violated by simply answering '''No''' to the question. |
The actual warning displayed can be customized by using the [[Error]] function from inside the [[Check Attribute]]. | The actual warning displayed can be customized by using the [[Error]] function from inside the [[Check Attribute]]. | ||
− | = See Also = | + | == See Also == |
− | |||
* [[Check Attribute]] | * [[Check Attribute]] | ||
+ | * [[Attributes]] | ||
+ | * [[Preferences]] |
Latest revision as of 00:38, 10 March 2016
Example message
Decision Num_active_employees fails to satisfy check: Num_active_employees < Max_employees. Do you want to stop evaluating and edit the definition? [Yes] [No] [Cancel]
Cause
The condition specified in a Check Attribute is violated.
To help catch errors that may be introduced into your model, or range errors in user inputs, a model builder can specified check conditions on selected variables. A check condition specifies a condition on a computed value that must be satisfied. Failure of a check condition may mean that an error has been introduced into your model, or that an input exceeds the ranges supported by the model's logic.
In the example, the check condition is on the Decision variable named Num_active_employees
. The check condition is an expression that is entered into the Check Attribute. In this example, the Check Attribute of the decision variable Num_active_employees
is set to:
Num_active_employees < Max_employees
It may be that Num_active_employees
evaluated to 15000 and Max_employees is 15000, thus triggering this warning.
These warnings can be turned off by de-selecting the Check Value Bounds preference on the Preference Dialog. For a particular warning, you can continue the computation even though the condition is violated by simply answering No to the question.
The actual warning displayed can be customized by using the Error function from inside the Check Attribute.
Enable comment auto-refresher