Skip to content
Snippets Groups Projects
Commit 445511b1 authored by ThibautDemare's avatar ThibautDemare
Browse files

Reorganize code and where are parameter associated to contracts between FC and LSP

parent 54fcc413
Branches
Tags
No related merge requests found
...@@ -27,11 +27,13 @@ global { ...@@ -27,11 +27,13 @@ global {
float maxlocalThreshold <- 0.2; float maxlocalThreshold <- 0.2;
float globalThreshold <- 0.15; float globalThreshold <- 0.15;
// Parameters relative to the ability of the final consignee to switch of LSP // Parameters relative to contracts between final consignees and LSP
bool allowLSPSwitch <- true;
int minimalNumberOfHoursOfContract <- 336; // number of steps for two weeks // The minimal number of days a final consignee must wait before he can decide if he wants to change of LSP
bool isLocalLSPSwitcStrat <- false; bool isLocalLSPSwitcStrat <- false;
list<int> possibleLSPSwitcStrats <- [1, 2, 3]; // 1 : NbStockShortages - 2 : TimeToBeDelivered - 3 : Costs list<int> possibleLSPSwitcStrats <- [1, 2, 3]; // 1 : NbStockShortages - 2 : TimeToBeDelivered - 3 : Costs
int globalLSPSwitchStrat <- 3; int globalLSPSwitchStrat <- 3;
bool allowLSPSwitch <- true; int nbStepsConsideredForLPEfficiency <- 96; // 4 days // The number of steps considered to compute the logistic provider efficiency
// Attractiveness parameters // Attractiveness parameters
float LHAttractiveness; float LHAttractiveness;
...@@ -48,11 +50,7 @@ global { ...@@ -48,11 +50,7 @@ global {
/* /*
* Some variables and functions to call some reflex * Some variables and functions to call some reflex
*/ */
// The minimal number of days a final destination manager must wait before he can decide if he wants to change of logistic provider
int minimalNumberOfHoursOfContract <- 336; // number of steps for two weeks
// The number of steps considered to compute the logistic provider efficiency
int nbStepsConsideredForLPEfficiency <- 96; // 4 days
// The numbers of steps between each calls to the reflex "decreasingStocks" // The numbers of steps between each calls to the reflex "decreasingStocks"
int nbStepsbetweenDS <- 24; int nbStepsbetweenDS <- 24;
// The numbers of steps between each calls to the reflex "testRestockNeeded" // The numbers of steps between each calls to the reflex "testRestockNeeded"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment