-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the same solver_manager_create for different input parameters #103
Comments
That depends: by input parameters, are you talking about different problems or different SolverConfig? If it for different problems (with the same SolverConfig), then that the purpose of If it for different problems with different |
I imagine it is the same SolverConfig if I just to change the number of number of customers, their locations - and demands for each location will be different for each call. In this case I would need to simply update the
Got it - thanks. |
Correct; just pass in a |
Thanks @Christopher-Chianelli - got it. Closing this. |
Hello, re-opening this because I don't think I understood completely how to setup/schedule the solver for multiple subsequent calls. Please find below the current code to test this scenario - where each call so
The above code yields an error that I can not identify the problem:
Thanks in advance @Christopher-Chianelli - if you have to point me in the right direction. |
Sadly, exception info is lost when setting a Python exception as the cause for a Java exception. Where is |
Hi @Christopher-Chianelli - sorry about the delay - I have created a minimal example here: https://github.com/bilics/optapy-test The idea is to expose the solver via a REST API call:
Thanks! |
Hello,
I have a question regarding the
solver_manager_create
- I would to like to be able to call an endpoint with specific routing parameters (different domain values for customers, demands, vehicles, etc) and receive aSINGLETON_ID
to check upon statuses.So is it possible to update
solver_config
for multiple "tenants" using the same instance of_SolverManager
(and update/get statuses using theSINGLETON_ID
parameter)?Or is it necessary to use something like Celery, to create independent/separate instances of
_SolverManager
for each call, with different parameters?)Thanks!
The text was updated successfully, but these errors were encountered: