Find Jobs
Hire Freelancers

set covering problem (2009-7-13)

$30-5000 USD

Abgesagt
Veröffentlicht vor fast 15 Jahren

$30-5000 USD

Bezahlt bei Lieferung
<pre> we have a set coverage problem with N variables x[i,j,k] where x[i,j,k]=1 means that employee I on day J covers shift K (and viceversa). Domains are: i=1..NEmp j=1..NDay k=1..NShf We introduce the new array Coverage[j,k]=x[1,j,k]+x[2,j,k]+...x[NEmp,j,k] so Coverage[j,k] gives the total number of employees that work shift k on day j. We are given an array of integers OptimalDist: array[1..NDay,1..NShf] of integer where OptimalDist[j,1..NShf] gives the optimal coverage of employees on day J To make things clear, OptimalDist[j,1]+OptimalDist[j,2]+ ..OptimalDist[j,NShf]=NEmp for each J Along many other conditions to satisfy (that we wont discuss here), we want to enforce the condition that the coverage we get on day J is as close to the (relative value of) OptimalDist as possible. Due to the many other conditions we have to satisfy, it is likely that we WONT get the exact distribution OptimalDist, but we want to go as close as possible to it. In a ideal free math world, we would pass the solver the classic chi-squared formula: minimize ( Coverage[j,1]-OptimalDist[j,1] )**2 + ( Coverage[j,2]-OptimalDist[j,2] )**2 ... ( Coverage[j,NShf]-OptimalDist[j,NShf] )**2 Alas, we cannot do it: our solver only accepts linear equations. This means that abs, squared, etc functions are not allowed. Inequalities allowed are only of type: Ax[...]+Bx[...]+Cx[...]+... >= RHS or Ax[...]+Bx[...]+Cx[...]+... <= RHS or Ax[...]+Bx[...]+Cx[...]+... = RHS Coefficients are integers (but this condition can be relaxed). Which inequalities can we pass to the solver (in place of the chi-squared function) so to get coverage close to the wanted distribution ? I am not interested in a particular modelling language. Please use any modelling language you are comfortable with. Please note that _no code_ at all is required. We only need a suggestion re how to write the problem in linear form </pre>
Projekt-ID: 2800373

Über das Projekt

1 Vorschlag
Remote Projekt
Aktiv vor 15 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
1 Freelancer bieten im Durchschnitt $85 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$85 USD in 14 Tagen
4,9 (19 Bewertungen)
4,5
4,5

Über den Kunden

Flagge von ITALY
Italy
5,0
509
Mitglied seit Feb. 20, 2005

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.