Coder Social home page Coder Social logo

jmozmoz / imp_marl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moratodpg/imp_marl

0.0 0.0 0.0 8.15 MB

IMP-MARL: a Suite of Environments for Large-scale Infrastructure Management Planning via MARL

License: Apache License 2.0

Shell 0.38% Python 62.87% Jupyter Notebook 36.75%

imp_marl's Introduction

IMP-MARL: a Suite of Environments for Large-scale Infrastructure Management Planning via MARL

IMP-MARL offers a platform for benchmarking the scalability of cooperative MARL methods in real-world engineering applications.

In IMP-MARL, you can:

Additionally, you will be able to:

  • Retrieve the results of a benchmark campaign, where MARL methods are assessed in terms of scalability.
  • Reproduce our experiments.

This repository has been developed and is maintained by Pascal Leroy & Pablo G. Morato.

Please consider opening an issue or a pull request to help us improve this repository.

Future developments are described in the roadmap.

imp

Main requirements:

To work with our environments, one only needs to install Numpy.

However, to reproduce our results, more packages are required and installation instructions are provided here.

Tutorials

Sets of environments available:

Note: A campaign cost can be activated in any environment.

Available wrappers with examples:

PyMarl algorithms available:

To train agents with PyMarl and one of the following algorithms, instructions are available here:

The main code is derived from PyMarl original implementation.

Expert-knowledge baselines available:

Run an IMP environment

env = Struct({'n_comp': 3,
               'discount_reward': 0.95,
               'k_comp': 2,
               'env_correlation': False,
               'campaign_cost': False})

obs, rewards_sum, done = env.reset(), 0, False
while not done:
    actions = {f"agent_{i}": random.randint(0,2) for i in range(3)}
    obs, rewards, done, insp_outcomes = env.step(actions) 

Citation

If you use IMP-MARL in your work, please consider citing our paper:

IMP-MARL: a Suite of Environments for Large-scale Infrastructure Management Planning via MARL

@misc{leroy2023impmarl,
      title={IMP-MARL: a Suite of Environments for Large-scale Infrastructure Management Planning via MARL}, 
      author={Pascal Leroy and Pablo G. Morato and Jonathan Pisane and Athanasios Kolios and Damien Ernst},
      year={2023},
      eprint={2306.11551},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

imp_marl's People

Contributors

moratodpg avatar paleroy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.