https://github.com/legraina/DynamicNurseScheduler
Raw File
Tip revision: aef751362239e9ade6448f3731a625c29c9a9f0f authored by Antoine Legrain on 25 October 2023, 20:54:55 UTC
Only publish docker image on version tag. (#33)
Tip revision: aef7513
README_Pricer.md
# Numerical tests with the pricer

New methods have been written for a major revision of the pricer. These methods are all included in the files whose names start with "My" (e.g. MyRCSPP.cpp). The tests are run with the main function that appears in src/PricerMain.cpp and which is called with the binary /bin/pricer.

To call the tests on an instance involving 30 nurses on a 4 weeks horizon, you can call the tests with the following command from the root of the project:
```bin/pricer --dir datasets/ --instance n030w4 --his 0 --weeks 1-2-3-4 --sp-type ROSTER --param paramfiles/default.txt```

Several variants of the pricer can be tested by modifying the following four options in the parameter file (paramfiles/default.txt by default):
sortLabelsOption=0 (or 1)
minimumCostFromSinksOption=0 (or 1)
worstCaseCostOption=1 (or 0)
enumeratedSubPathOption=0 (or 1)

back to top