Error Messages/40924
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
Enable comment auto-refresher