Python Forum

Full Version: Creating a schedule program
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

I'm new here so let me introduce myself first. I'm Nick, 24 years old and a bio-farmacal student at Leiden University.

A few weeks ago I thought of an idea to create a program which could calculate the best possible schedule for employees. I'll try to explain a bit more about this.

Where I work schedule are made my hand and that creates a lot of frustration as well as the one making the schedule as the employees who are never satisfied. My idea was to create a program which would calculate the best possible schedule regarding restrictions like:
-At most N night shifts in a row
-At most N hours of work for employee Y
etc

I'm new to Python altough many many years ago I worked with PHP at school. I realise this idea won't be easy, but I like a challenge. Hopefully someone will be able to point me into the right direction

Thank you very much in advance for any help provided
My wife worked at a job recently that a program scheduled the hours. Requested hours never seemed to be fulfilled, and the program scheduled people for weird time slots. Granted they might of had a crappy program.

try this
https://developers.google.com/optimizati...scheduling

install
https://developers.google.com/optimizati...ing/binary

but it looks like it is on pypi
https://pypi.python.org/pypi?%3Aaction=s...mit=search
(Nov-22-2017, 08:40 PM)ndplokkaar Wrote: [ -> ]A few weeks ago I thought of an idea to create a program which could calculate the best possible schedule for employees

Great minds must truly think alike as this is about the fourth time this 'great' idea has come up. One might actually begin to think it's homework.

Any way, you need to post what code you have, any error codes (in their entirety) what the actual output is you are getting versus the output you expect to get.

Refer to out Help document for How to ask a proper question and also the section on BBCode so you can properly post your code, errors, etc.
(Nov-22-2017, 08:55 PM)sparkz_alot Wrote: [ -> ]
(Nov-22-2017, 08:40 PM)ndplokkaar Wrote: [ -> ]A few weeks ago I thought of an idea to create a program which could calculate the best possible schedule for employees

Great minds must truly think alike as this is about the fourth time this 'great' idea has come up. One might actually begin to think it's homework.

Any way, you need to post what code you have, any error codes (in their entirety) what the actual output is you are getting versus the output you expect to get.

Refer to out Help document for How to ask a proper question and also the section on BBCode so you can properly post your code, errors, etc.

Well I can assure you my study has absolutely nothing to do with programming. If I posted this in the wrong place I'm very sorry, but as I stated I'm new here.

@metulburr

Thanks for the ideas. I'll see if I can do something with this

@larz thank you as well