Skip to content

AIcrowd/flatland-getting-started

Repository files navigation

Getting Started with Flatland

Flatland is an environment for developing and comparing multi-agent reinforcement learning algorithms in gridworlds.

This repository contains notebooks to get you started on the right track with the Flatland environment, in order to take part in the AIcrowd Flatland Challenge.

If you want to dive into challenge baselines right away, check out the various approaches below.

Discovering Flatland

Part 1: The Rail Environment

Open In Binder Open In Colab

  • Create a RailEnv environment and render it
  • Check out the default observations
  • "Train" a random agent

notebook1

Part 2: Observations

Open In Binder Open In Colab

  • Finding suitable observations
  • Creating your own observations
  • Visualizing observations

notebook2

Part 3: Level Generation

Open In Binder Open In Colab

  • Creating random rail networks
  • Creating schedules
  • Adjusting size and difficulty

Part 4: Malfunctions

Open In Binder Open In Colab

  • Introducing stochastic malfunctions
  • Handling malfunctions

Part 5: Speed Profiles

Open In Binder Open In Colab

  • Handling agent speed
  • Handling partial moves

Challenge Baselines - Coming soon!

The Flatland Challenge can be approached in different ways - for example using methods from operations research, reinforcement learning, or anything else!

The following notebooks show how to approach the problem using each of these methods.

Reinforcement Learning: DDQN

Open In Binder Open In Colab

Solve simple rail problems using Double DQN.

Operations Research

Open In Binder Open In Colab

Solve simple rail problems using OR methods.

Releases

No releases published

Packages

No packages published