scheduling

Scheduling T teacher having max S students into S slots

Scheduling T teacher having max S students into S slots Question: There are T teachers who can each have a maximum of S students. Each student can have a maximum of S teachers. There are S time slots for the student and teacher to meet. In each slot a teacher will teach one of its …

Total answers: 2

How can I filter pandas dataframe column that contains both date and time for specific times?

How can I filter pandas dataframe column that contains both date and time for specific times? Question: Pandas dataframe date&time filtering Hey team! The whole idea of the script was to access the link at specified times ["20:00", "20:30", "22:15", "22:45", "23:30", "00:00", "01:45", "02:30", "03:00", "03:30"] and to filter the column Expected Ship Date …

Total answers: 3

Google OR-Tools NotImplementedError: Evaluating a BoundedLinearExpr as a Boolean value is not supported

Google OR-Tools NotImplementedError: Evaluating a BoundedLinearExpr as a Boolean value is not supported Question: I have developed a nurse scheduling program for one of the departments of the hospital I work with in Python. The program makes use of OR-Tools and is based on the following example: https://github.com/google/or-tools/blob/master/examples/python/shift_scheduling_sat.py In order to constraint the number of …

Total answers: 3

DAG(directed acyclic graph) dynamic job scheduler

DAG(directed acyclic graph) dynamic job scheduler Question: I need to manage a large workflow of ETL tasks, which execution depends on time, data availability or an external event. Some jobs may fail during execution of the workflow and the system should have the ability to restart a failed workflow branch without waiting for whole workflow …

Total answers: 3

Controlling scheduling priority of python threads?

Controlling scheduling priority of python threads? Question: I’ve written a script that uses two thread pools of ten threads each to pull in data from an API. The thread pool implements this code on ActiveState. Each thread pool is monitoring a Redis database via PubSub for new entries. When a new entry is published, python …

Total answers: 5