Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 442 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 442 Bytes

MABEA-knapsack

Vanilla implementation of Multi-Agent based Evolutionary Algorithm for Unbounded Knapsack Problem

Installation

Simple deps:

pip install -r requirements.txt

If you want to see agents energies realtime run

export TERM=xterm-color

to clear the output in the console after each population print.

Running

To run brute-force run run_brute_force.py To run Agent-based EA run run_agent_based.py`

Results