Difference between revisions of "Error Messages/40924"

(Created page with "= Error Message = When evaluating DefineOptimization in ''My_Lp'', the Intrinsic Indexes (OptDimensions attribute) for decision variable ''Price'' is bad - it should cont...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= Error Message =
+
[[Category: Error messages]]
  
  When evaluating [[DefineOptimization]] in ''My_Lp'', the Intrinsic Indexes (OptDimensions attribute) for  
+
== Error message ==
  decision variable ''Price'' is bad - it should contain a list of index identifiers, specifying the  
+
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
  dimensionality of the decision variable ''Price''.
+
  When evaluating DefineOptimization in 'My_Lp', the Intrinsic Indexes (OptDimensions attribute) for  
 +
  decision variable 'Price' is bad - it should contain a list of index identifiers, specifying the  
 +
  dimensionality of the decision variable 'Price'.
 +
</pre>
  
= Cause =
+
== Cause ==
 +
View the [[Object window]] for your decision variable (''Price'' in the example), and examine the '''intrinsic indexes''' attribute.  Something about it is bad, corrupted, etc.
  
View the object window for your decision variable (''Price'' in the example), and examine the '''intrinsic indexes''' attribute.  Something about it is bad, corrupted, etc.
+
Or, in [[typescript]], type:
 +
:<code>OptDimensions Price</code>
  
Or, in [[typescript]], type: <pre>OptDimensions Price</pre>
+
where you substitute your own decision variable for ''Price''.  This should be a list of valid identifiers.
  
where you substitute your own decision variable for ''Price''.  This should be a list of valid identifiers.
+
== Remedy ==
 +
 
 +
Without knowing exactly what is wrong or why, start over with that attribute.  Press the '''Indexes''' button in the [[Object window]] if you can and clear out the indexes (when asked whether to set to scalar or clear, clear it)Then try defining fresh.
  
= Remedy =
+
If for some reason that doesn't work, in [[typescript]] type:
 +
:<code>OptDimensions «x»:</code>
  
Without knowing exactly what is wrong or why, start over with that attributePress the [Indexes] button in the object window if you can and clear out the indexes (when asked whether to set to scalar or clear, clear it).  Then try defining fresh.
+
Be sure to include the colon at the end, and substitute your identifier for «x»This will clear the attribute.
  
If for some reason that doesn't work, in [[typescript]] type: <pre>OptDimensions «x»:</pre>
+
==See Also==
Be sure to include the colon at the end, and substutite your identifier for «x».  This will clear the attribute.
+
* [[Indexes and arrays: An introduction]]
 +
* [[Classes of variables and other objects]]
 +
* [[DefineOptimization]]
 +
* [[Typescript]]

Latest revision as of 00:46, 11 March 2016


Error message

 When evaluating DefineOptimization in 'My_Lp', the Intrinsic Indexes (OptDimensions attribute) for 
 decision variable 'Price' is bad - it should contain a list of index identifiers, specifying the 
 dimensionality of the decision variable 'Price'.

Cause

View the Object window for your decision variable (Price in the example), and examine the intrinsic indexes attribute. Something about it is bad, corrupted, etc.

Or, in typescript, type:

OptDimensions Price

where you substitute your own decision variable for Price. This should be a list of valid identifiers.

Remedy

Without knowing exactly what is wrong or why, start over with that attribute. Press the Indexes button in the Object window if you can and clear out the indexes (when asked whether to set to scalar or clear, clear it). Then try defining fresh.

If for some reason that doesn't work, in typescript type:

OptDimensions «x»:

Be sure to include the colon at the end, and substitute your identifier for «x». This will clear the attribute.

See Also

Comments


You are not allowed to post comments.