How do you release a shared license?



1 comment

  • Patrick Günther

    So, if I do not call dispose on all the models before disposing the environment, the license is not getting released? Could you clarify this for me?

    Because it certainly does not throw an exception and I can still perform optimizations on the model after disposing the environment. This should be clarified in the documentation if that is the case. As it is worded right now,

    The dispose method on a GRBEnv should be called only after you have called
    dispose on all of the models that were created within that environment.

    it sounds to me, that I can just elect to not close the models first, if I'm not going to use them after disposing the environment.


    Comment actions Permalink

Article is closed for comments.

Powered by Zendesk