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.

Metadata

Release files for cmas 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmas 0.1.0
File Size Uploaded
cmas-0.1.0.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmas 0.1.0
File Interpreter ABI Platform
cmas-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / cmas-0.1.0.tar.gz

Download URL cmas-0.1.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5deb702b0fe34c2936690287d59e52d79dc6cec013569292133a0bfee16758eb
BLAKE2b-256 checksum
How to use checksums
ee19e1c67f7b94f09426d1786c0f1dd13b33ad9e860b93ae53d9e6441948c1e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release files / cmas-0.1.0-py3-none-any.whl

Download URL cmas-0.1.0-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75075df6aded9479947d929aff8ce88ef4230ac1563ace629252f9b81ca68e1a
BLAKE2b-256 checksum
How to use checksums
b7f6c90b2a254d092bce1b84bebc8fe3fd60e1a5d1a41ae38256badbd9aa612a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release 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