From cb8a2f4fd25e09954067c716154374e0be2eea09 Mon Sep 17 00:00:00 2001 From: "Francois Berube\\frabe" Date: Thu, 12 Apr 2018 22:42:54 -0400 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20boucle=20dans=20le=20main=20pou?= =?UTF-8?q?r=20faire=20une=20matrice=20des=20ratios=20d'employ=C3=A9s=20op?= =?UTF-8?q?timaux=20en=20fonction=20des=20probabilit=C3=A9s=20d'absence=20?= =?UTF-8?q?et=20d'augmentation=20de=20la=20demande.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rapport_de_session/Résultats.xlsx | Bin 14514 -> 25153 bytes .../ParametersAbsencesSimulator.java | 8 +++--- Travail_de_session/MainClass.java | 23 ++++++++++++------ 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/Rapport_de_session/Résultats.xlsx b/Rapport_de_session/Résultats.xlsx index a2add6cfe59c4c23eb92b744b87d70c3a87deaff..c995bfaf6872a6cdd1643936a593e5a989686a10 100644 GIT binary patch delta 17719 zcmZ_01C%AtvNzhcZQHi3Y1{U+t=+acZQHi(p0+(bZJV#p|J?7M`|kJNUTd$a${m%N zQ4x_9@ym$a;MhL|jHM_G3Wf#*0R#mE1Vjv^I574)0}KST4ONdt0s=_gu-jmQ3%!E8 z$A{a(sGmo`3MH0j^lICLY4QeAGd3n}APcw6?E0`A9uFlhPZ|-o-+%7=dXv^FqSTli zL1&DggD{AQa-xH|=D|AqoAUhO!THJnL-r@esb7>_-GATO>(T7CEz%!c(z{CR2O2;s zq9ato2%E&ChZVM5X$Vki#ZWj8%MR(uO#n#Z@c>aEwPqi3aROz1I4^6{yZzIgM0qCe z*zH#%t|l^kT%|rF@h6J&OIX5)qY+1LZWdlP4GWbjh#iQ%CVHHOnI8z5GF0T!l)}LS zuW7R4aLg9Y2KOdQWk=NV>U_2$>TP&3p(Vv9GPzc_; z|6Ozy-fhsRI!ERJL5{I4{u&=H8*~G+9I+^?r>6Y{V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W%`=YGLvq{Y<7@5QJLTg!=gimdjLnfyt($q=u~1f(a^IL@WlZ0Te#~OX|Z@%bqb<^ zU>ts(Etw~dXIR1^DlmmiC<749LJS!w^O^Fq9_)Y|5Ux-hRSv4puG11)>i-X_6fpd| z8oz~|=ex+ELUEjESWF6%@NMDj@t28@vfpQZNk|%u?faXI?8~K77KFVJ)0kPH_lda! zp^o1J;ZwqtXax=@YD>7swZRNPA;8}%!4uXgaxUGV{F2y+=!h$oiu^JLY9h?h`Ygd#OdwH%7Q1T;*Kj++s z%1>u~<9j);DCI~Bg59)_Q}n&(9gVnOdKZKHDOv|< z_2@FJTj8GX#H3`4f50?s{w#z+OehG(O6AQ^LVUS1m?>!!m|>*0WjyQpkelE(?9}V; z_WmNCBwl$=DXTng`x^Uqdw|c+if4`Hj-B8JsrO^N9EQhE1)1*xw7>h@^ncy#BJaW$ zPFd5&n*cADtUW7)W?ZnVfRJ8NS_qRd@QrySg0{tcYZ61IjfhD8B_06)f`8|})$Fk#(k4uh7gHi= zM?wgZ87;}bKezvuy`_MV7%`Fj`@8|(H1VGWfdP_hN=NdqtN+J4{3{~H2$40Xf-IU5 zK~u6o)KzKVIN2=hT_A2|OweR(Zyk&fVsjwLf4i4|7a-<<446|%|KD5w=6}4P0RYT@ tN8f6_oB)88tEHN|>w6D&OILU6zwSs)5$?@V{oM=@pau&7DDnJl{U4SiypI3? diff --git a/Travail_de_session/AbsenceSchedules/ParametersAbsencesSimulator.java b/Travail_de_session/AbsenceSchedules/ParametersAbsencesSimulator.java index 1b0ca9c..bba4de6 100644 --- a/Travail_de_session/AbsenceSchedules/ParametersAbsencesSimulator.java +++ b/Travail_de_session/AbsenceSchedules/ParametersAbsencesSimulator.java @@ -9,8 +9,8 @@ package AbsenceSchedules; * * @author frabe */ -public interface ParametersAbsencesSimulator { - public final double probPresence = 0.99; - public final double probReturn = 0.50; - public final int numberAbsenceSimulations = 1000; +public class ParametersAbsencesSimulator { + public static double probPresence = 0.9; + public static final double probReturn = 0.50; + public static int numberAbsenceSimulations = 1000; } diff --git a/Travail_de_session/MainClass.java b/Travail_de_session/MainClass.java index 73771a5..b97b229 100644 --- a/Travail_de_session/MainClass.java +++ b/Travail_de_session/MainClass.java @@ -1,5 +1,3 @@ -//import AbsenceSchedules.AbsenceSchedulesArray; - import AbsenceSchedules.*; import InitialSchedules.*; import ScheduleUtil.*; @@ -16,14 +14,25 @@ public class MainClass { public static void main(String[] args) { - List initialSchedulesArrayList = generateInitialSchedules(); +// for (int i = 0 ; i <= 10 ; i++) { + +// ParametersAbsencesSimulator.probPresence = (double) i * 0.01 + 0.9; // Pour de 0.9 a 1.0 par increment de 0.01 + +// System.out.print("Probabilité absence = " + (1-ParametersAbsencesSimulator.probPresence)); - List listBankAbsenceSchedules = GenerateAbsencesSchedules(initialSchedulesArrayList); + // Placer une sous-boucle pour faire varier la probabilite d'augmentation de la demande. + + List initialSchedulesArrayList = generateInitialSchedules(); - List bankRecoveredSchedulesOrderedByMeanCost = GenerateOptimalRecoveredSchedules(listBankAbsenceSchedules); + List listBankAbsenceSchedules = GenerateAbsencesSchedules(initialSchedulesArrayList); - SchedulesWindows.ShowSolutionResultsFrame initialSchedulesViewer = new SchedulesWindows.ShowSolutionResultsFrame(bankRecoveredSchedulesOrderedByMeanCost); + List bankRecoveredSchedulesOrderedByMeanCost = GenerateOptimalRecoveredSchedules(listBankAbsenceSchedules); + SchedulesWindows.ShowSolutionResultsFrame initialSchedulesViewer = new SchedulesWindows.ShowSolutionResultsFrame(bankRecoveredSchedulesOrderedByMeanCost); + +// int optimalFullTimeEmployee = bankRecoveredSchedulesOrderedByMeanCost.get(0).initialSchedulesArray.getNumberFullTimeEmployee(); +// System.out.println(optimalFullTimeEmployee + " "); +// } } private static List generateInitialSchedules() { @@ -61,7 +70,7 @@ public class MainClass { SolverInitialSchedules mySolverPartTimeEmployeesInitialSchedules = new SolverInitialSchedules(myModelPartTimeEmployeesInitialSchedules); List myInitialPartTimeEmployeesSchedulesSolutions = mySolverPartTimeEmployeesInitialSchedules.findAllSolution(); - mySolverPartTimeEmployeesInitialSchedules.printStatistics(); +// mySolverPartTimeEmployeesInitialSchedules.printStatistics(); for (Solution CurrentPartTimeEmployeesSolution : myInitialPartTimeEmployeesSchedulesSolutions) { PartTimeEmployeeScheduleArray partTimeSchedulesArray = new PartTimeEmployeeScheduleArray(myModelPartTimeEmployeesInitialSchedules, CurrentPartTimeEmployeesSolution);