Research Article

Addressing the Bike Repositioning Problem in Bike Sharing System: A Two-Stage Stochastic Programming Model

Algorithm 1

SABRPSD.
Obtain the initial solution S0.
Set the parameter for the simulated annealing, T0, TE, α, Iiter, Maxiter
Set Sbest ⟵ S0; Scurrent ⟵ S0; T ⟵ T0.
While T ≥ TEdo
m ⟵ 0; n ⟵ 0;
While m ≤ Iitern ≤ Maxiterdo
S ⟵ Local search (Scurrent, Nk);
Snew ⟵ Second-Stage-Opt (S);
  Δ ⟵ F(Snew) − F(Scurrent);
If Δ ≤ 0 then
  Scurrent ⟵ Snew, n ⟵ n + 1;
  If F(Scurrent) ≤ F(Sbest) then
   Sbest ⟵ Scurrent;
  end
else
  Ifthen
   Scurrent ⟵ Snew, n ⟵ n + 1;
  end
end
m ⟵ m + 1;
end
T ⟵ α ⃞ T;
end
Return: Sbest