The Algobattle lab course package.
Project description
Algorithmic Battle
The lab course "Algorithmic Battle" is offered by the Computer Science Theory group of RWTH Aachen University since 2019. This repository contains the necessary code and documentation to set up the lab course yourself.
The idea of the lab is to pose several, usually NP-complete problems during the
semester.
Groups of students then write code that generates hard-to-solve instances for
these problems and solvers that solve these problems quickly. In the default
setting, the groups then battle against each other, generating instances of
increasing size that the other group has to solve within a time limit.
Points are distributed relative to the biggest instance size for which a group
was still able to solve an instance.
Installation
This project is being developed and tested on both Windows and Linux, MacOS support is being worked on but still is tentative.
python3
in version at least 3.10
and docker
are required.
We recommend installing the package as a user using pip
pip install . --user
Adjust the parameters set in the algobattle/config.ini
file to set
which hardware resources you want to assign. You can pass alternative
configuration files to the script using the --config_file
option.
Usage
This repository does not include any practical problems. For a selection of problems that have been posed to students in practice, have a look at the algobattle-problems repository.
To start a basic run on a problem, using the solver
and generator
that
are part of the problem directory, use
algobattle path/to/concrecte/problem/folder
The algobattle
script offers several options, e.g. to give custom paths for
solvers and generators. Run algobattle --help
for all options.
Check the wiki for further documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file algobattle_base-4.0.0rc1.tar.gz
.
File metadata
- Download URL: algobattle_base-4.0.0rc1.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.6.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f8f6b6d4bae74ab7e40e8aebbd8b084a9f36fe15a3f3af13d502f2bfd9c6019 |
|
MD5 | 43317ce72d4408660fb58de2d3a5f2ec |
|
BLAKE2b-256 | 793196c980e43986c59f210ea1ed3c1498943082e2fddf2cce75b2c6e10ab662 |
File details
Details for the file algobattle_base-4.0.0rc1-py3-none-any.whl
.
File metadata
- Download URL: algobattle_base-4.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 32.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.6.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 006abb8e2fe6bdfd1c4075bab25c38d7245c0f0b65dfbee97dedc40a7809628f |
|
MD5 | 87d435848c6ec424bfdcaf24d7287abb |
|
BLAKE2b-256 | 35b73fd18120e5f75a161583a428b012f2f09d54c9bf68581d2e3d923b32b630 |