dvorka / shifts-solver Goto Github PK
View Code? Open in Web Editor NEWFinds a solution to fitting employees with preferences in a schedule for shifts-based operation (GWT, Google AppEngine).
License: Apache License 2.0
Finds a solution to fitting employees with preferences in a schedule for shifts-based operation (GWT, Google AppEngine).
License: Apache License 2.0
Improve change employee dialog by putting there a table of employees w/ color code (red is employee who should not be allocated) w/ explanation (role, busy, jobs, ...). Employees (table rows) will be radio so one of them will have to be allocated anyway.
Allow solution modifications w/ integrity checks - jobs, filled shifts on day, ... This is a way how solution could be tweaked in any way. Solver is just a hint and in principle solution editor could be enough - instead on paper, she would do it in editor ;)
In other words this might be the most important feature - perhaps editor will an only way how to create a schedule (a lot of rule violations) and editor might be more useful than an Excel.
Imagine view where left most column is date and shift type. Other columns within table contain names that MAY serve - have role, continuity, have capacity for jobs and nights, etc. Below table is employee allocation statistics showing load, jobs, balanced night and day shifts, etc.
My code is fine - just eventual consistency? Holidays and other preferences are disappearing on saves. Can it be too early kill on eventual consistent?
GA is an approach to searching a minimum of a function. Create a function that valuates solution (state) and gives 0 to valid solution, while any partial solutions get valuation > 0.
http://de.mathworks.com/help/gads/how-the-genetic-algorithm-works.html
https://github.com/lagodiuk/genetic-algorithm
If employee serves on Saturday and Sunday then it CANNOT serve on Monday.
Day in week Sun - Sat is wrong for months.
Remember what cannot be solved, don't fail but move forward.
The purpose of this panel will be provide enough information to determine why solver failed while looking for a solution:
Email to be used for authentication and authorization (employee view) while admins will be hardcoded.
This is MUST feature (to be added to MD as well). Preferences panel, Employee column to be split - below name will be "Jobs: 12" with editable number + jobs will have to be solved to preferences (persistence).
Do it via sorting:
... or add comment to drop down why they should NOT be choose (OK employees in drop down has no comment).
... some employees get day, other don't in employee allocation constructor. Find out why...
... I see - what's in RIA state matters ;) i.e. there is a problem in loading last month employee in textbox
Don't add shift to editor on Sunday afternoon (comment in source code for explanation).
Determine amount of shifts needed for the month and compare it with employees (with holiday preferences) - is there even big enough capacity prior starting to solve?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.