Minizinc Hosptial Schedule

You need to be an expert in minizinc for this job!

I am trying to write hospital schedule for my wife. This is often referred to as a “nurse scheduling problem”. The constraint program needs to be written in minizinc. I started with the model, but my underlying solvers (Geocode, Chuffed, OR) cannot handle my code (too complex and / or too poorly written).

The aim is to develop a working minizinc model which will be hosted on a website at a later stage.




• Parameters

o All data/parameters will be stored in a separate data file

 amount of days (e.g. 90), people (e.g. Chris), shifts (e.g. evening)

 shifts require working hours

 people have contractual working time / hours

 people may have overtime from previous schedule

 hard constraint & soft constraint data

• Hard constraints

o shifts defined per day (e.g. every Monday two evening shifts)

o shifts defined per specific day (e.g. Tuesday the 30th four evening shifts)

o shifts defined per day per person (e.g. Chris every Monday two day shifts)

o shifts defined per specific day per person (e.g. Chris on Friday the 31st is off)

o within 5 consecutive days at least 1 day is off

o sum of working hours per schedule <= contractual working time + overtime

o Total amount of night shifts equally distributed

o Total amount of weekend shifts equally distributed

o Shifts depending on other shifts during per day (e.g. if there is a morning shift on Sunday, there needs to be an evening shift)

o Shifts depending on other shifts on previous days (e.g. if Chris had a nightshift yesterday, today he may only either be off or have another nightshift)

• Soft constraints

o Each shift per day has a “penalty” (e.g. Monday evening shift = 10, Monday day = 0)

o Sum of penalty to be as equal as possible within all people

o If specific shifts are scheduled on specific days (e.g. every Tuesday, every second Saturday, the 30th of Ocotober), there is a specific “benefit” allocated (e.g. 20)

• Solve

o Utility = sum of benefit – sum of penalty

o Solve maximize utility

• Output

o Schedule (days horizontal, people vertical)

o Time accounting

 How many hours available per contract per person

 How many hours worked per person

 How many shifts worked on which days per person

o Shift accounting:

 How many shifts scheduled?

 How many shifts scheduled per day?

Kemahiran: Pembangunan Perisian

Lihat lagi: I can do what you need with full professionalism, Try me and we will work with each other for a long time, thanks., resultaten voor narration writing pretend that one morning you wake up and find yourself in a different country describe what ha, give me the name i want cartoons in the morning to you, do you need a cad file to make a video, can you please translate this into afrikaans * my grandfather gave me a present and inside the is a phone he bought it yesterday, sunday morning essay, write essay sunday morning, essay sunday morning, french translation sunday morning, sql payment schedule, schedule website, proofread good morning america, proof read good morning america, payment schedule template freelance employees, schedule task min

Tentang Majikan:
( 0 ulasan ) Netherlands

ID Projek: #15630046

1 pekerja bebas membida secara purata €350 untuk pekerjaan ini


Hello, We are a team of 30 developers based in Russia. View our featured projects: [url removed, login to view] [url removed, login to view] We specialise in: PHP & PHP frameworks, WordPress & Woocommerce, Openc Lagi

€350 EUR dalam 3 hari
(2 Ulasan)