SmartLog-ACO is a heuristic, multi-objective approach to solving the forwarder routing problem in cut-to-length forest harvesting operations. For details, see E. Holmström, J. Nikander, J. Backman, K. Väätäinen, J. Uusitalo, and P. Jylhä, "A multi-objective optimization strategy for timber forwarding in cut-to-length harvesting operations", International Journal of Forest Engineering (2022) (https://doi.org/10.1080/14942119.2022.2149003).
Use the following command to run the code:
python3 smart_log_aco.py pile_data.txt path_data.txt
where pile_data.txt is the path to an ASCII file containing the data on log piles in the following format:
<northing (m)> <easting (m)> <assortment (an integer value)> <total volume of the pile (m**3)> <maximum distance between two logs in the pile (m)>
and path_data.txt is the path to an ASCII file containing the forest machine GNSS trace, used in constructing the network of trails and piles. This file should have the following format:
<altitude (m)> <northing (m)> <easting (m)>
The trafficability data used by the code can be downloaded from the Finnish Forest Centre web pages:
https://www.metsakeskus.fi/fi/avoin-metsa-ja-luontotieto/metsatietoaineistot/korjuukelpoisuus.
Uses the following packages: numpy, copy, random, networkx, matplotlib, scipy, itertools, math, sys, PIL, warnings, os, time.
Contact: [email protected]