Research Article

Simulation-Based Planning and Control of Transport Flows in Port Logistic Systems

Algorithm 1

Input: , , , , , step
aux = 0
While aux = 0
 Ro1 =
= 1 − ro1
 For
=   * ro1
 End For
 If (( > ) or ()), aux = 1
 If ( < ), best =
 Else
 best =
=   + step
End While
If (best < ), Return best
Else, Return not found