Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

jonatasbcchagas/nds-brkga_bi-ttp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

A Non-Dominated Sorting Based Customized Random-Key Genetic Algorithm for the Bi-Objective Traveling Thief Problem

This project contains the code of the Non-Dominated Sorting Based Customized Random-Key Genetic Algorithm (NDS-BRKGA), which is described in detail in Chagas et al. (2020), for solving the Bi-Objective Traveling Thief Problem (BI-TTP).

Compiling the code

Before running the NDS-BRKGA, it is needed to compile its code as well as the code of its sub-algorithms (see our paper for further details). To this end, just run the following command:

$ sh compile.sh

Usage:

$ python launcher.py <instance> <output> <N> <N_e> <N_m> <rho_e> <alpha> <omega> <tsp_t> <kp_delta> <execution_number> <runtime>

  where:

        <instance>              : Instance name
        <output>                : Two output files are generated: <output>.x contains the list of all non-dominated solutions and <output>.f the list of objective values
        <N>                     : Population size
        <N_e>                   : Elite population size in terms of <N> (e.g. <N_e> = 0.1 --> 0.1<N> elite individuals)
        <N_m>                   : Mutant population size in terms of <N> (e.g. <N_m> = 0.1 --> 0.1<N> mutant individuals)
        <rhoe_e>                : Elite allele inheritance probability
        <alpha>                 : Fraction of the initial population created from TSP and KP solutions
        <omega>                 : Frequency of local search procedure
        <tsp_t>:                : Time limit in seconds to solve the TSP component via LKH algorithm
        <kp_delta>              : Maximum capacity of the sub-knapsack solved by the dynamic programming algorithm
        <execution_number>      : Execution number of the NDS-BRKGA
        <runtime>               : Number of processing hours of the NDS-BRKGA (stopping criterion)

Example:

$ python launcher.py instances/a280_n279 a280_n279.sol 1000 0.6 0.0 0.8 0.3 50 300 50000 1 5

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages