Error Messages/40924
< Error Messages
Revision as of 23:27, 26 January 2011 by Lchrisman (talk | contribs) (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...")
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 substutite your identifier for «x». This will clear the attribute.
Comments
Enable comment auto-refresher