-
Notifications
You must be signed in to change notification settings - Fork 339
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
Unassigned jobs should show all data for a job. #243
Comments
To be honest, I think the sole purpose of providing the location in output is to be able to plot unassigned jobs in the frontend (I think the On the other hand, in a production setting, jobs ids will typically be unique identifiers from some database. I'm not sure we should really care about providing back context information that is already accessible from the client side? |
I thinking providing more information is good. |
By "client side" I meant any piece of code that generated the vroom input, that de facto already has access to all job descriptions without any outside database query. As I mentioned above, I've used the |
So, I think replacing with the original |
Technically that's indeed what you should do if you want to add more information in output. Else you might end up outputting some default values (e.g. for time windows) that are actually stored in But again I don't think adding a lot of stuff in output just for convenience is a good idea. I can't think of a use-case where this would be mandatory (see previous comments), so I would probably not merge it in |
I think if someone wants to do computation after the output so. giving full Object will be good as he/she don't have to go through input data again which will require an additional |
Yes, you want to avoid that. You need to have a constant-time access to the jobs created for the input problem, based on their id. For example in javascript, you could store a simple object using ids as keys and storing a reference to a job object as value. |
Unassigned jobs are not showing all details it should display all details about the job.
example as given here.
The text was updated successfully, but these errors were encountered: