Skip to main content

Multi-threaded applications

Comments

1 comment

  • Official comment
    Brandon Takahashi

    Hi Tim,

     

    Thank you for submitting your inquiry. What you're trying to do should be possible, however not natively. Our own API has no way to create separate threads to start more calls to Optimize.

     

    That said, a developer can use a multi-threading library, create their own threads and call problem.Optimize from each created thread as necessary. In this case you would want to implement a SolverPlatform.Environment in your code, which "isolates" the created problem and sticks it to a single license thread.

     

    If you have any further questions regarding the Environment object in the Solver SDK or you are not using the SDK, please email us at support@solver.com and we'll do our best to assist you further.

     

    Regards,

    Brandon T.

Please sign in to leave a comment.

Powered by Zendesk