Questions tagged [scheduling]

In computer science, scheduling is the method by which threads, processes or data flows are given access to system resource.

Filter by
Sorted by
Tagged with
2 votes
1 answer
46 views

How to enumerate all valid options for building a course schedule in R

How can I use R to enumerate all possible ways to build a course schedule? If a student has four compulsory subjects offered at various times, how can I map all possible "paths" the student ...
kenmore17's user avatar
-2 votes
0 answers
8 views

Im implementing a scheduling policy sth like yarn scheduler with a simple queue how can i implement and then compare it with similar policies

Im working on project I want to implement and make comparison but im new and have no idea should i implement it with for example visual studio and then how should i compare it with similar policies ...
SEPEHR ESKANDARI's user avatar
0 votes
1 answer
42 views

Modifications in a graphic with matplotlib

I am currently working on automating the creation of a shift schedule for a project. I want to hand over my code a list of 0 or 1, and whenever the list contains a 1 at a specific point a squres (...
nflgreaternba's user avatar
0 votes
3 answers
41 views

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

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", &...
Alexandru Tudorie's user avatar
0 votes
1 answer
27 views

Deploy work queue in a paused state Prefect 2.0

I'm working in Prefect 2.0 and want to deploy a work pool with some work queues inside. These work queues each contain a specific task. This is the YAML file I'm using for the deployment: ### ### A ...
larsje99's user avatar
0 votes
1 answer
70 views

What is the difference: PreFilter vs Filter vs PostFilter in the concepts of Scheduling framework?

I'm learning the k8s Scheduling Framework, scheduling cycle phase. I can't catch an actual difference between filters "PreFilter", "Filter" and "PostFilter". What is the ...
Kirill K's user avatar
  • 335
0 votes
0 answers
18 views

Need help accessing current arrival rate value in Anylogic scheduling

I relatively started new with Anylogic and I have not so much experience with programing (and with Java at all). I build an arrival schedule (schedule) with the explicit values for each day. Now I ...
Yusuf's user avatar
  • 1
0 votes
2 answers
24 views

CPO Save Log/Intermediate solutions

I am using the python API of CPO Optimizer. Is there any way to save the log/intermediate highlighted solutions and timestamps to build a chart on the evolution of the optimization? Thanks in advance! ...
Javi Pernas's user avatar
-1 votes
0 answers
18 views

Group matching schedule algorithm

My company has different groups (A,B,C...) each group has some number of members. The problem is to arrange a schedule for each member to have a 1-1 meeting with another member from another group. ...
BabyishTank's user avatar
  • 1,220
0 votes
0 answers
21 views

How can I run my systemd service with a `SCHED_DEADLINE` scheduling policy?

I want to run my systemd service with a SCHED_DEADLINE scheduling policy. I already have this with chrt -d --sched-runtime 1000000 --sched-deadline 5000000 --sched-period 5000000 -p 0 <PID> ...
Trofen's user avatar
  • 1
1 vote
1 answer
71 views

How to give a process exclusive cpu access for a certain amount of time?

General Description: I'm trying to implement a system call which does the following: Accepts an argument representing number of seconds. Schedules the calling process with exclusive access to the cpu ...
GalMichaeli's user avatar
1 vote
1 answer
47 views

scheduling program for more than two teams per game [duplicate]

I have a question regarding a scheduling problem, similar to this problem . I would like to write a program or algorithm to calculate a game schedule for a sports league, but not with two teams per ...
Unnamed1242's user avatar
0 votes
1 answer
34 views

Will the time spent for context switch be counted into some process's system-cpu-time?

Generally, %Sys stands for the amount of CPU time spent in the kernel within the process. It consists of time spent for things like allocating memory or accessing hardware (HDD, network, etc.) This is ...
Frontier_Setter's user avatar
0 votes
0 answers
4 views

Prefer faster hosts over slower ones in Univa Grid Engine when scheduling jobs?

I've got a cluster running Univa Grid Engine, with about fifteen compute nodes in a queue. Five of the nodes are a fair bit slower than the other ten, just due to being older. It's rare for our ...
Xirin's user avatar
  • 33
0 votes
1 answer
48 views

Always infeasible solution in or-tools scheduling problem

Let a list of predefined hubs with each one having a specific demand in drivers, a set of drivers and the relationship between drivers and hubs. In my example the number of drivers is way higher than ...
azal's user avatar
  • 1,200
-1 votes
1 answer
27 views

Prefect role deployment

Currently I'm working with Prefect and learning about it. I saw in the documentation that it's possible to assign and create different roles within Prefect Cloud for the necesarry access control. Now ...
larsje99's user avatar
-1 votes
0 answers
23 views

Generating all facts in clingo

I have fact of slots and teams. I want to generate all the facts so that every team plays every other team and in every slots possible. Afterwards I want to apply integrity constraints. This is what I ...
gt7474's user avatar
  • 1
0 votes
0 answers
25 views

Modelling Input/Output as DAG

I am attempting to programmatically generate optimal execution order of an enormous set of ETL jobs based on their logs. Through log parsing, I identified the following structure for every IO event in ...
Andrew's user avatar
  • 21
0 votes
0 answers
6 views

FCFS response time vs SJF response time (scheduling algorithms)

which of these algorithms is better in response time? (FCFS or SJF) I want to know that does any of them dominant another one in response time? I think SJF is always better in the side of response ...
Bushehr Hoopoe's user avatar
0 votes
0 answers
30 views

Python file locking and scheduling

I want to solve the following use case with python: there is a file foo.txt that can be edited by various processes the file cannot be processed in parallel consequently, the processes have to wait ...
PanchoVarallo's user avatar
0 votes
0 answers
33 views

Prolog Scheduling Project

i am working on a small project that schedules TAs workload and most of the predicates i have done are working except the final one which is weekschedule which takes :- 1-2d list with the tut numbers ...
Omar Farouk's user avatar
0 votes
1 answer
94 views

Infeasible solution to scheduling problem using ortools

I'm trying to create a scheduler which assigns a set of shifts to a set of drivers for each day of the week, enforcing a minimum of 1 Day off per week. For the following input data, I'm getting an ...
azal's user avatar
  • 1,200
1 vote
0 answers
53 views

Need to reduce scheduling delays using Python sched module

So I have read the documentation, articles about the different clocks (monotonic, time_perf, process_time) accessible from Python, and I am still getting unacceptable delays when calling a function ...
TheseBootsWereMadeForTech's user avatar
0 votes
0 answers
70 views

MS Project 2019 scheduling algorithm

Whats resource constrained scheduling algorithm is used by MS Project 2019? What RCPSP algorithm is behind a so called a resources leveling in MS Project 2019?
JackAW's user avatar
  • 164
0 votes
3 answers
100 views

Time Slots for a schedule between two Datetimes

If found a lot of post on how to do an hourly time slot for a schedule between two date but in my case the two dates are datetimes and they don't start at 00 minutes. Here an example. Start date = ...
Kevin Marchand's user avatar
0 votes
2 answers
96 views

How can schedule stop-start of standard app engine in gcp

I was trying to find out a way to schedule stop/start the latest version of app engine in google cloud, but couldn't find any way for that. I just found gcloud command for stopping/starting a specific ...
mary's user avatar
  • 369
1 vote
1 answer
38 views

Spring boot keeps interrupting the running cronjob tasks despite being configured to wait for them before shutting down

In my sping boot application i have several Cron jobs that should be able to finish running before the application shuts down. I'm using a TaskSchedulerCustomizer bean to configure spring's default ...
Maurice's user avatar
  • 6,526
0 votes
0 answers
29 views

How to determine the last execution of a job in quartz.net?

I am using Quartz.NET to schedule some jobs that monitor hardware parameters (e.g. cpu and ram usage). In each execution they retrieve the usage and write it to an xml-file. The jobs are parametrized ...
Marcel Müller's user avatar
0 votes
0 answers
31 views

How can numactl cpunodebind work properly with isolated cpus?

My process has one high frequency thread and several low frequency threads. I want to bind the high frequency thread A on an isolated cpu 18 (of NUMA node 0), and other low frequency threads on other ...
Punch Burger's user avatar
0 votes
0 answers
28 views

Program is not calculating the right turaround time and waiting time in implementation of round robin scheduling

I'm working on a C program that's supposed to generate a random list of processes and run them through a round-robin scheduling algorithm. However, the program doesn't seem to be working as expected ...
Zanies's user avatar
  • 1
0 votes
1 answer
49 views

Making a process scheduling simulator for SPN (shortest process next)

I am making a simulator for SPN in c. right now the code also does FCFS and SRT, but those work fine. i think it is the way it calculates start times but i haven't been able to fix it. #include <...
atlue42's user avatar
0 votes
1 answer
26 views

Can we steal more CPU time/Resource by having more(than other running apps on user machine) thread/process in an app?

We know, the CPU Schedules thread. So if my app has much more thread than other apps, then will my app get more CPU time? I think OS can somehow prevent this since it knows which process these threads ...
S.Nakib's user avatar
  • 371
-1 votes
1 answer
67 views

Laravel | What is the correct way to send a reminder email exactly 1 hour before a start time?

I have a meeting table with a start_time field, i want to send an email exactly 1 hour before the start time, making sure that every new meeting is scheduled too.
eksoo's user avatar
  • 81
1 vote
1 answer
59 views

Python Prefect 2.9.0 - TypeError: 'fn' must be callable

I'm currently learning Python Prefect and I'm using version 2.9.0. I'm trying to set up scheduling with a 10-second interval using the following code: @task def print_values(): print("Test 1: ...
rotoh's user avatar
  • 11
0 votes
0 answers
19 views

CPLEX - Develop constraints related to scheduling

My problem is that I would like to assign a car to each garage during a time window following some conditions: Each car only assign to one garage during a specific time For example. there are two ...
Koala's user avatar
  • 1
0 votes
0 answers
44 views

How to implement an algorithm for an optimised schedule for a person on holiday based on multiple factors?

Hi i want to do a trip planner application using android studio application using java i have set up firebase, google maps and places apis. From user inputs of several saved locations, i hope to ...
shjonz's user avatar
  • 11
0 votes
1 answer
105 views

Scheduling job biweekly in Azure Databricks

I want to schedule a job in databricks notebook that starts running from 24th March 2022 and runs every 14 days after that. So the days would be 24th march, 7th april, 21st april, 5th may. Like this. ...
Aryan 's user avatar
0 votes
1 answer
31 views

Define parameter in Cplex - scheduling

How can I define this parameter and input the data for this parameter based on below following? Thanks. Average inter-arrival time of trucks: (delta arrivalTime)=ED[0.083] Arrival time: arrivalTime(t+...
LilyBre's user avatar
  • 11
0 votes
0 answers
76 views

Python: scheduling a script to run at particular time, need help in deciding which option is best

I have around 50 scripts that i want to run at different time of the day and display its result in CSV as well as web interface. For reason i cannot use flask-apscheduler. I do want an option to start ...
Ashish Kumar's user avatar
0 votes
1 answer
217 views

Kotlin: Best way to implement a job scheduler (not for android)

My Goal: Have a class with two methods start and stop the start method has 3 parameters: startHour which indicates an hour of the day in which to restart the execution of the algorithm isImmediatly ...
Adamo Branz's user avatar
1 vote
0 answers
113 views

How to assign tasks to a set of machines, given that the more tasks you assign to a machine the slower they will run? Bin covering with merging bins?

Intro I need to design an algorithm that will distribute a known set of tasks with a known RAM requirement to a known set of machines with known RAM capacities. The tasks require a certain amount of ...
Pt. Terk's user avatar
  • 462
1 vote
0 answers
23 views

EPERM error in changing nice value of a process through setpriority()

I'm trying to change the nice value through a publicly available code but I'm getting a Permission Denied (EPERM) message. The program fails when executed either as a normal user or with sudo. #...
Πέτρος Λάμψας's user avatar
0 votes
1 answer
136 views

Celery Groups: How to create a group of already running tasks?

I have a set of long running tasks I need to coordinate in group. The challenge is the tasks must be fired as soon as they can be created, not after all tasks are defined (as shown below). The problem ...
X_Trust's user avatar
  • 637
0 votes
0 answers
37 views

Using Constraint Programming to model preemptive task with energy allocation over periods

I have a linear model that works fine but has a huge amount of time of resolution that I want to reduce. One approach is that I convert it to constraint programming. Supposing that I have a specific ...
Ali Fradi's user avatar
  • 110
0 votes
0 answers
327 views

Scheduling Gantt Chart

I'm trying to create a Gantt Chart for 10 machines and 100 Jobs but I have not found how to get something like this I just get something like project charts but i don't need that format. I found ...
user21559's user avatar
1 vote
1 answer
35 views

Python: What to do after the script development is complete, and where to schedule it

Not really a technical question, but I feel quite lost at this point. I have completed a few courses on python, GIT, and have basic understanding of the functionalities. I have made a few python ...
Paul Pieless's user avatar
0 votes
0 answers
19 views

Crystal Reports - scheduled reports randomly running immediately after being scheduled

When I schedule a report on the Crystal Reports website, it sometimes runs the report one time right after I click on the save button, and sends the report out. I have looked at the each setting ...
LucasC922's user avatar
  • 167
0 votes
0 answers
81 views

`resched_curr` in does not reschedule the current task instantly

I am working on designing a custom linux scheduler for linux version 6.0.19. It is a version of rsdl scheduler. Now, after the time quanta assigned for the current job expires, I need to call the ...
Abhishek Ghosh's user avatar
0 votes
0 answers
36 views

How to build a custom scheduler for Spark

For a personal project, I am looking into implementing some scheduling algorithms into Spark and measure their performances in terms of time and other metrics. I have found that Spark implements two ...
 Annis99's user avatar
0 votes
1 answer
49 views

Is there any smarter way to constrain the max size of continuous tasks with ortools cp-sat

In pharceutical industry, the changeover/cleaning events are typically very long and may even need different level of operator resource. As a result, they need to modelled carefully when we schedule ...
John's user avatar
  • 1,768

1
2 3 4 5
55