Research Article

Distribution Network Design for Fixed Lifetime Perishable Products: A Model and Solution Approach

Algorithm 2

Upper bound calculation.
         Generating feasible solution from the lower bound solution
      Phase 1 generating a solution that satisfy single sourcing constrain
, = number of DCs, = number of retailers
For to
   If (if a retailer exist that is assigned to no DC, allocate this retailer to all DCs)
     ;
   End
For to
   While there exists at least one retailer such that repeat the following steps
    For to
      Calculate as follow ( = Cost of based on the current retailers assigned to it);
      
      
    End
    Find with minimum and let
      For to
         If
        For to and
          If
              ;
          End
         End
       End
      End
   End
End
         Phase 2 generating a solution that satisfy constrain
While at least a DC exists with violated constraint (constraint (11))
   Select a DC with violated constraint;
   Let = the last assigned retailer to DC (refer to set in lower bound calculation);
   Remove from the set of retailers allocated to DC;
   Allocate to a DC that leads to minimum cost and its constraint would not be violated;
End
Calculate current upper bound using the following formula
current upper bound
;