Research Article

Sequential Appointment Scheduling Considering Walk-In Patients

Algorithm 1

Step  1. , , , ;
Step  2. Suppose the n + 1st patient is of type ;
  If , reject the patient, go to Step  2;
   Else for , , compute
   , ,
   , ;
Step  3. If , accept the patient, ,
     , go to Step  2;
   Else reject this patient, go to Step  4;
Step  4. If , ;
   If , stop;
   Else go to Step  5;
Step  5. Scheduling a patient who is sure to come to
    , respectively, compute
    , .
    If , stop;
     Else , go to Step  2.