Add ambulance model implementation and docs#171
Add ambulance model implementation and docs#171Bluey-Si wants to merge 6 commits intosimopt-admin:masterfrom
Conversation
|
Hi @Bluey-Si, thanks for the contribution! Can you run |
|
I’ve fixed most of the errors, but I’m keeping the three bad-override errors for |
|
@Bluey-Si, you are absolutely right. This has been fixed in another branch, which will be shortly pushed to master. 1) Can you further run |
|
I've updated the ambulance model to the latest structure and passed previous format checks. Thanks! |
e6913ef to
16ca463
Compare
| ] | ||
|
|
||
|
|
||
| class Ambulance(Model): |
Check warning
Code scanning / CodeQL
`__eq__` not overridden when adding attributes Warning
| # For type 2: service completion: [time, 2, assigned_amb_index, 0, 0] | ||
| # ------------------------------ | ||
| event_list = [] | ||
| current_time = 0.0 |
Check warning
Code scanning / CodeQL
Variable defined multiple times Warning
This PR introduces a new ambulance model into simopt. This model setup is based on the ambulance base location problem described in Biased Gradient Estimators in Simulation Optimization (Eckman, D. J. and Henderson, S. G., Proceedings of the 2020 Winter Simulation Conference). I have already reached out to Cen Wang for this PR. Looking forward to feedback and suggestions, thanks!