question

Joerg Vogel avatar image
0 Likes"
Joerg Vogel asked Ben Wilson commented

No OptQuest License Found

I have actually installed the license version 17.1. In the Flexsim Version 7.5.4 I have build a model and can run the experimenter and the optimizer. In Flexsim 17.1.0, 17.0.3 I can run the experimenter but the Optimizer Results tells me there is no license found. The Start page states that I have Enterprise and QptQuest Licenses and the Flexnet License Administration webclient shows 2 of 9 licenses in use.

What can I do?

FlexSim 17.1.0
licenseoptquest
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
1 Like"
Ben Wilson answered Ben Wilson commented

You can determine whether your FlexSim instance has the OptQuest feature by looking at the Optimizer Run tab. If you don't have the OptQuest feature, the Optimize button will actually be grayed out and say "No OptQuest License Found".

The Optimizer Results tab is not an accurate indicator of OptQuest license feature status. The Webkit window that displays the results has the No OptQuest License Found image as its default content. If the Webkit window has any trouble loading, or a problem accessing data from FlexSim as it initializes, or if the optimizer never gets any data back from child processes that causes the results view to refresh, then this view will not update, and you will see the default content telling you there is no OptQuest license, even though there might be one.

The button on the Optimizer Run tab is a trusted indicator of license status, the Optimizer Results tab is not.

If you press the Optimize button, and then the view moves to the Optimizer Results tab that never refreshes away from the default No OptQuest License Found image, try resizing the Simulation Experiment Control window. It should cause the Optimizer Results view to refresh and show the words "Optimizer Results," without the No OptQuest License Found image.

Also, when you press the Optimize button, does your Windows Task Manager show a group of FlexSim processes spawned as background processes? If so, FlexSim tried to run the optimization, but none of the background instances have reported back.

If the background FlexSim instances have CPU utilization over 0%, then they are working. If you wait long enough, one of them may finish and report back its results, and your Optimizer Results tab will refresh.

If the background FlexSim instances show CPU utilization at 0%, then there is something wrong with initiating the Optimization that we will need to figure out.

Does the file path to your model contain any non-ASCII characters? We were able to duplicate the problem (albeit inconsistently) by saving a model with a Unicode character in the file name. Unfortunately because we couldn't consistently duplicate the issue, we can't be sure if your problem is related, but anecdotally, if you do have non-ASCII characters anywhere in the file path, try renaming your model and moving to a location with only ASCII characters in the path. Perhaps this will give us more information to use in order to try to solve your issue.


· 3
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

Hi Ben I have controlled the previous mentioned hints. The installation path contains in fact a non ascii character. It is the space-character in the bottom most directory. But this is the default installation path, too. "C:\Program Files\FlexSim 2017 Update 1" The file path does not contain any non ascii characters, possibly it could be the "-" "C:\Daten\Flexsim\Flexsim-Test". Then I installed Flexsim V17.0.4 in the path "C:\Flexsim\Flexsim2017" with the same result. The first optimization process ends up with a result, the second run doesn't. While the first run I can find 9 instances of Flexsim and a Flexsim daemon in the taskmanager processes. After starting the second run I get only two instances of Flexsim. One is still the daemon process of the license server. The model is build completely new in Flexsim 17.0.4. Windows version is 7 enterprise. And I don't know what I can do. No change running Flexsim as adminstrator.

1 Like 1 ·
Ben Wilson avatar image Ben Wilson ♦♦ Joerg Vogel commented ·

@Jörg Vogel, thanks for the additional information.

We'll continue testing to see if we can reliably duplicate the error.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Anyone finding this Q&A, one likely cause of this error is outlined here:

https://answers.flexsim.com/questions/44264/getting-optquest-error.html

OptQuest requires .NET 3.5, which is not installed by default on Windows 10.

1 Like 1 ·
Ben Wilson avatar image
1 Like"
Ben Wilson answered Ben Wilson commented

Hi @Jörg Vogel,

Have you tried explicitly asking FlexSim to snag an OptQuest feature along with your license? Try checking the box to Checkout optquest feature:

Technically speaking, if you're not using the Only checkout features for license type: option, then FlexSim automatically tries to get all the features it can, including the OptQuest feature. However, it is worth a try just to help us get more data.


· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

Closing all running versions of Flexsim and opening a model with Flexsim Version 17.0.3, 17.0.4 or 17.1.0 and start the Optimize process works only once. If I close the Experimenter window and open the Experimenter again, change or do not change any settings and start the optimize process the Optimizer Results window shows "[No OptQuest License Found]". Even if I load another model or the same model again the next optimization isn't working.

In contrast to that behavior in Flexsim 7.5.4 I can change the settings, open and closing the experimenter and optimize again. The license is not getting lost in the results window.

The above settings haven't got any effect on the behavior. The second run has got as a result the missing license information. Beside the license server states still that the right number of features are in use at the right host. It is an improvement to have at least one successful run with a new started Flexsim Version. But this is independent from the license server settings.

The license server is on the same machine as the Flexsim Program runs the optimization.

1 Like 1 ·