https://github.com/legraina/DynamicNurseScheduler
Revision f163424d481b435bc8d3ed633f2feffbce79fa9c authored by Antoine Legrain on 03 June 2021, 19:11:35 UTC, committed by GitHub on 03 June 2021, 19:11:35 UTC
* Major refactoring. Create a class for each  type of constraints and moved them in the constraints folder. Each constraints handles the dual cost and the addition of a new column to the constraints. It's a generic process now. It will ease the implemtation of new constraints. Under debug currently.

* Working refactoring.

* Can run several benchmarks in sequencial.

* Stop diving when the gap is small enough.

* Working LNS with rotation.

* Add tests for rolling horizon - LNS.

* Move DualCosts  in SubProblem.
1 parent 4f3bb7b
Raw File
Tip revision: f163424d481b435bc8d3ed633f2feffbce79fa9c authored by Antoine Legrain on 03 June 2021, 19:11:35 UTC
Mp constraints (#89)
Tip revision: f163424
DockerfileValgrind
FROM legraina/bcp

# install valgrind
RUN apt-get update; exit 0
RUN apt-get install -y --force-yes --fix-missing valgrind; exit 0

# create a user
RUN useradd -ms /bin/bash dantzig

# Change user
USER dantzig

# Copy everything
COPY --chown=dantzig . /home/dantzig/ns/

# Set the working directory
WORKDIR /home/dantzig/ns/

# Compile the nurse scheduler
RUN echo "set(BCPDIRDBG /usr/local/Bcp-1.4/build)" > CMakeDefinitionsLists.txt && \
    echo "set(BOOST_DIR /usr/local/include)" >> CMakeDefinitionsLists.txt && \
    mkdir build && \
    cd build && \
    cmake -DCMAKE_BUILD_TYPE=Debug .. && \
    make

# Entrypoint for the nurse scheduler
ENTRYPOINT [ "./docker-entrypoint.sh" ]
CMD [ "-h" ]
back to top