Questions tagged [timetable]
212 questions
1
vote
0 answers
Synchronize And Combine Timetable Columns in MATLAB?
I'm trying to add new datapoints to an existing timetable in MATLAB. The problem I'm having is that all the join commands either don't work because they require the tables to share a dimension, or add the data that I want to put into an existing…

Iotatron
- 65
- 7
1
vote
1 answer
Reinforcement learning for home automation
I have got a problem where I have to automate some task. Let's say switching on and off an appliance based on the user interaction with it on different days of the week.
Let's say we have a bulb B1 and a user U1. In beginning U1 will switch on and…

Rehan Ullah
- 111
- 3
1
vote
1 answer
How to calculate timeslots between two times for a timetable
I have a starting time and end time at school. and I want to generate a timetable for that school using start time and end time and given timeslot.
Time is 24 hours.
ex:-
const startingTime = {
startHour: 8,
startMinutes: 30
}
const endTime…

chanaka
- 121
- 8
1
vote
1 answer
How to import to timetable from time series data whose timestamp is in strings?
How do you import time series data into timetable where the timestamps are formatted strings as opposed to date serial?
For example, I have the following data in a csv file.
20191208 18:17:00,17,17,17,17
20191208 18:18:00,17.5,17,17,17.5
20191208…

Argyll
- 8,591
- 4
- 25
- 46
1
vote
1 answer
Matlab.- Erase duplicates from a cell array where each element is a timetable
I have a cell array of size 360*1 where each element is composed by a 330*3 timetable. The names for each column on every timetable are 'hour','volume' and 'price'. For each timetable, I want to erase the volume observations that are duplicated (of…

Antoine Fa
- 61
- 5
1
vote
5 answers
How to keep leading zero in a timetable
I've got a selection of times, but I want to keep the leading zero:
var fastTrainReading = [0943, 0957, 1006, 1013 , 1027, 1036, 1043, 1057, 1106, 1113, 1127, 1136, 1213, 1227, 1236, 1243, 1257, 1306, 1313, 1327, 1336, 1343, 1357, 1406, 1413, 1427,…

Jack Tyler
- 117
- 1
- 2
- 5
1
vote
1 answer
MATLAB: Append two timetables within a cell array
I have 2 cell arrays (both of the same size 30*1) where all their elements are timetables. Lets assume that the first element (timetable) from the first cell array is the following:
timeStamps = datetime([2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017…

Antoine Fa
- 61
- 5
1
vote
1 answer
How can I generate an array of dates in which a subject is to be taken in the class if the timetable for that subject per week is given
Suppose I have a timetable for a particular subject with subject code say(MI132). Now as per the timetable, the classes of MI132 are on Monday, Tuesday and Wednesday each week for a session. The session might start on the date say(12/01/2019).
Now…

Amar Parajuli
- 45
- 4
1
vote
2 answers
Genetic Algorithm: Why my random population fitness values are same?
I m implementing genetic algorithm to solve timetable problem. After a few iterations , my fitness values start becoming same.
I have tried adjusting crossover rate & mutation, but to no avail.
Structure:
Each chromosome contains multiple classes.…

Salman Saleh
- 173
- 2
- 9
1
vote
1 answer
How to give an initial solution to a LP problem in IBM CPLEX ILOG
What is the correct parameter to give an initial solution to a LP problem in IBM ILOG CPLEX using OPL.
I'm modelling a large scale school timetabling problem and as a way of reducing the total solution time, i'd like to begin the process with an…

João Pedro Moreira
- 11
- 4
1
vote
1 answer
MATLAB: Integrate one timetable into another
I would like to expand an existing timetable. The original timetable consists of trading days only, while I would like to expand it to reflect all weekdays (no matter if working day or not).
Consider the original timetable tt. I would like to expand…

Andi
- 3,196
- 2
- 24
- 44
1
vote
3 answers
MATLAB: plot timetable matrix
I would like to plot all columns of a timetable. For example, let's say, I have a timetable with two columns.
time = datetime({'2017-11-15'; '2017-11-18'; '2017-11-19'});
col1 = [NaN;4;5];
col2 = [7;6;4];
tt = timetable(time, col1, col2);
How can I…

Andi
- 3,196
- 2
- 24
- 44
1
vote
0 answers
How do i work out a fixtures schedule for my sports league
I run a small sports league with 3 divisions. A Ladies Higher, Ladies Lower and Mens division. Depending on the number of teams in a division they may play each other once, or they may play each other twice.
The league runs over 12 weeks (one night…

Ed.G
- 11
- 3
1
vote
2 answers
Project scheduling basic example: chromosome for the Genetic Algorithm
I am writing a Project Scheduling Optimization library, a special kind of a Job Shop scheduling problem. To keep it simple, so far my algorithm will only work with workers being the only resource for the project, and there are only 2 types of…

Whizzil
- 1,264
- 6
- 22
- 39
1
vote
2 answers
What should I use to display a "time table" in windows form?
I am working on an app to show sort of a time table.
Let's say I have a 2D array of items and I would like to display them in a 2D grid with both line and column headings (dayOfWeek x time).
I also need to be able to change background color of each…

Megabight
- 71
- 1
- 1
- 10