Error Messages/41264
Error message
An attempt to evaluate a term type that cannot be evaluated has occurred.
Cause
The error occurs when an attempt is made to evaluate an value with an unusual data type. For example, you would see this error if you attempted to evaluate an image, e.g.:
Evaluate(Pict of Pi1)
If you see this where you would otherwise not expect to see it, there is a good chance it is the result of an internal error in Analytica and should be reported to support@lumina.com.
We have seen this appear during the linear coefficient analysis stage of DefineOptimization, when certain non-linear relationships are encountered. We consider these to be bugs -- it should deduce that the problem is an NLP, rather than issuing this error. One case we know of (in Analytica 4.3.2) is in a call to GetFract(X, p)
when X is a linear function of the decision variables.
Remedy
In the case where this is occurring during DefineOptimization, a work-around is to explicitly declare the problem to be an "NLP", e.g.:
DefineOptimization(..., type:"NLP")
this will cause it to avoid the linear coefficient analysis stage. It would be helpful if you send support@lumina.com the model that exhibits this problem so we can fix it in.
Enable comment auto-refresher