Questions tagged [timetable]

212 questions
0
votes
0 answers

Prolog beginner question about scheduling and assigning groups

It's descended into just randomness since I obviously completely can't feel the logic of this logic, even though over a year ago I felt I was getting somewhere, then didn't look at it until now, and it's all just a complete random mystery of what…
MikeyB
  • 460
  • 1
  • 6
  • 22
0
votes
1 answer

Filling out a time table with arrays

I am making a time table for automatic generation of something like a time table you'll know from schools. I am good on the way to make it fill out my table but I am unsure how a best practice would look like for this exact purpose. I have in the…
Banjofie
  • 21
  • 4
0
votes
0 answers

Or tools timeTable with less gaps

tools for a scheduling problem to generate a school timeTable with a cp-sat model. Im using this model : Im wanna add a soft constraint to have less gaps as possible between lessons (free timeslots) but im struggling, i know i should use slack…
Tarik Ouhamou
  • 317
  • 1
  • 3
  • 13
0
votes
1 answer

Google Code Jam: My solution to Train Timetable problem is failing

I'm trying to solve this problem from Google's Code Jam 2008: The problem is called Train Timetable and you can find the full explanation here: Code Jam - Train Timetable Note: I've decided to solve the problem with Node.js. My code is the…
Javier
  • 11
  • 1
0
votes
1 answer

Can't autowire a ScoreManager in optaplanner while using a custom solver xml configuration

Hello im using optaplanner, i've created a custom xml file solver like below : and in my controller i've tried to autowire my SolverManager The problem is when using the default SolverManager the ScoreManager is autowired successfully but here it…
Tarik Ouhamou
  • 317
  • 1
  • 3
  • 13
0
votes
1 answer

Matlab: Filter a timetable to balance a panel data

I have a timetable and I want to keep those days that coincide between each value from my variable "Id". In the example I put here, I start with my timetable T where there are three different "Id". My goal would be to end up with a timetable T_1…
Antoine Fa
  • 61
  • 5
0
votes
1 answer

Plan a schedule in optaplanner that takes in account that the lesson takes 2 hours or 3 hours

I have made a timetable that needs to be populated with lessons, each lesson has a subject a studentGroup and two planning variables which are timeslot which indicates the day and the beginning and the end of the lesson and also the room. My problem…
Tarik Ouhamou
  • 317
  • 1
  • 3
  • 13
0
votes
1 answer

Create a hourly charge schedule based off of user input, plug in or build?

I am building a charge schedule off of the user input for my reflection and I am stuck on whether to try find and adapt a plug in, or build it myself. The schedule is a solar charge schedule to charge electric cars between the hours of 7am and 16pm.…
0
votes
1 answer

Matlab datastore timetable dates from filename

I have a lot of CSV files for different days with time values and data inside. Filename = Date (Year,Month,Day) Inside File: time 1- Data time 2- Data etc. When I read the files as Datastore I want the filename dates with the times as…
S.A.
  • 23
  • 3
0
votes
2 answers

JavasSript Split an array of objects into multiple arrays with a certain key

Context: I want to make a timetable planner that checks for time clashes. Any help is greatly appreciated. Specific Problem: Can't figure out how to split my array of objects into multiple arrays with certain key repeated. My data set: let myCourses…
0
votes
0 answers

database - storing timetables in one row for each week day or in one single row for all week days?

In my database I manage timetables like this: timetables table id - int (primary key) start_time - int (minutes) end_time - int (minutes) week_day - int (day number: 1 for Monday, 7 for Sunday) the id field is foreign key in other tables since if a…
Michele
  • 31
  • 6
0
votes
1 answer

Scheduler in syncfusion for angular

I'm getting the below error while using the command ng add @syncfusion/ej2-angular-schedule Can someone help me with this error (I'm using Angular 8) Or else can someone suggest time-table from different site Thanks in Advance. ERROR in…
0
votes
2 answers

MATLAB drop observations from a timetable not contained in another timetable

I have two timetables, each of them have 4 columns, where the first 2 columns are of my particular interest. The first column is a date and the second is an hour. How can I know which observations (by date an hour) are in the timetable 1 but not in…
Antoine Fa
  • 61
  • 5
0
votes
1 answer

Multiple Definition Error in C++ using different files for declaration of function/vector

Sorry for this extensive (body)question, but I'm having an issue trying to separate my main() function from my read.cc file. At first I wrote my main() in my read.cc for it was easier to test and it worked perfectly. Now I'm modularizing my code and…
0
votes
1 answer

How to store/create data with multiple dates for the same timetable

I have a model of a timetable as below:- class time_table(models.Model): username = models.ForeignKey(User,db_column="username", on_delete=models.CASCADE,) sem_section = models.ForeignKey(sem_sections, db_column =…