An open API service indexing awesome lists of open source software.

https://github.com/fpopic/hmo

(Class) Heuristic Optimization Methods
https://github.com/fpopic/hmo

assignment-problem bfs-algorithm cmake cpp11 genetic-algorithm greedy-algorithm

Last synced: 4 months ago
JSON representation

(Class) Heuristic Optimization Methods

Awesome Lists containing this project

README

        

# HMO

Heuristic Optimization Methods

Task in Croatian : [PDF](Task.pdf)

## Requirements

- CMake 3.6
- C++11

## Compiling

```bash
cmake .
make
```

## Running

BFS algorithm has been used to evaluate solution.

1. Compute an inital greedy solution:
```bash
./GREEDY

# Writes to "results/res--min-popic";
```

2. Compute a GA-optimised solution (best from population):
```bash
./GA
```

Params:
- pM_start - mutation percentage for an inital population
- pM - mutation percentage
- pop_size - population size
- pre_solution_path - path to file for an inital greedy solution