Research Article

Outpatient Appointment Scheduling with Variable Interappointment Times

Algorithm 1

Simulation-based heuristic algorithm.
Input: N, b, np (p = 1 b), cw, cd, cv, service time distributions, and h.
Output: ap (p = 1…b).
Initialization: ap = 1 for p = 1 b;
 Evaluate ;
 OldMinExpectedTotalCost = .
Begin
Step  1  For
   ;
  Evaluate ;
  ExpectedTotalCost(p) = ;
   ;
 End For
 Step  2  Find p such that ExpectedTotalCost(p) is the minimum;
   ;
   .
  Step  3  If NewMinExpectedTotalCost < OldMinExpectedTotalCost
  OldMinExpectedTotalCost = NewMinExpectedTotalCost;
  Go to  Step  1;
 else
   ;
  Return ;
 End If
End