Skip to main content

CMAS

Welcome! This repository contains cmaspy, a package for the Control of multi-agent systems (MAS). We have also developed its counterpart of cmaspy in Matlab, named cmasmat.

Installation (Python)

  1. Download cmaspy: Make sure you have python3.12 (or greater) installed on your computer. Start by cloning this repository and navigating into the cmaspy directory.

    $ git clone https://github.com/REAM-lab/CMAS
    $ cd CMAS
    

    Next, create a virtual python environment and install cmaspy in the virtual environment. To this end, execute the following:

    $ python3.12 -m venv .venv 
    $ source .venv/bin/activate
    (.venv)$ pip install -e .  
    
  2. **Install a solver for Semidefinite programming **: Most of the functions in this repository requires a solver, like MOSEK, to solve semidefinite programming.

  3. Run examples: To ensure that cmaspy was installed correctly navigate to the examples/python folder. Then, within your python virtual environment, launch python3.12 and execute the examples.

Installation (Matlab)

  1. Download cmasmat: Make sure you have [MATLAB>R2025a] (or greater) installed on your computer. Start by cloning this repository and navigating into the cmasmat directory.

  2. Add to your path folder: On the Home tab, click Set Path, click Add folder, then click Add folder with Subfolders. Select the folder cmasmat and click Open.

  3. Run examples: To ensure that cmasmat was installed correctly navigate to the examples/matlab folder, and execute one of the examples.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmas-0.1.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmas-0.1.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file cmas-0.1.0.tar.gz.

File metadata

  • Download URL: cmas-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.9

File hashes

Hashes for cmas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5deb702b0fe34c2936690287d59e52d79dc6cec013569292133a0bfee16758eb
MD5 0f4b4948cc71a4de37316f49b716c14f
BLAKE2b-256 ee19e1c67f7b94f09426d1786c0f1dd13b33ad9e860b93ae53d9e6441948c1e6

See more details on using hashes here.

File details

Details for the file cmas-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cmas-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.9

File hashes

Hashes for cmas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75075df6aded9479947d929aff8ce88ef4230ac1563ace629252f9b81ca68e1a
MD5 04950626b600707d989df695ec15f996
BLAKE2b-256 b7f6c90b2a254d092bce1b84bebc8fe3fd60e1a5d1a41ae38256badbd9aa612a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page