Skip to main content
. 2025 Sep 13;27(9):953. doi: 10.3390/e27090953
Algorithm A1 Two-Stage Pipeline: OR-Tools + Gurobi, Simulated Annealing or Tabu search
  • 1:

    Stage 1: OR-Tools pre-optimisation

  • 2:

    Input: station sets …

  • 3:

    Model ← OR-Tools

  • 4:

    Define binary variables

  • 5:

    Add constraints

  • 6:

    Solver ← CP-SAT solver()

  • 7:

    Set solver parameters (default configuration)

  • 8:

    Solution_or_tools ← solver …

  • 9:

    Stage 2: Refinement

  • 10:

    Use encoded solution from previous stage: Solution_or_tools

  • 11:

    Gurobi, Simulated Annealing or Tabu search

  • 12:

    Set parameters

  • 13:

    Iterations and selection of solutions …

  • 14:

    Output