question

Steven R avatar image
0 Likes"
Steven R asked Ben Wilson commented

What does these OptQuest Errors mean?

I have created my OptQuest variables (all integer type) and objective function. When I hit run optimizer, errors pop up, however, it continues to run the scenarios. What are these errors and do they impede the accuracy of the results?

OPTQUEST ERROR: -11093

OPTQUEST ERROR: -11061

OPTQUEST ERROR: -16101


FlexSim 20.0.2
flexsim 20.0.2optquest error
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @steven.r, was jordan.johnson's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

0 Likes 0 ·

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Ben Wilson commented

Hmm! Looks like a bug in FlexSim, not properly showing the error string. I'll put that on the dev list.

Here's what the OptQuest .NET documentation (https://www.opttek.com/documentation/v722engine/OptQuest_Engine_API/index.html) has to say, in the COptQuestException class:

-11093 The variable name cannot start with a number.

-11061 Error defining constraint equation. Equation string is empty.

For the last error code, it wasn't documented. But I emailed OptTek a while back, and they said:

-16101 Error bad variable id

My guess is that the model has some variable names that start with a number, which causes the bad variable ID later on. Also, it looks like a blank constraint is not valid.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.