Giter Site home page Giter Site logo

aso-heuristic's Introduction

ASO-Heuristic

Usage

To build and execute the script you need a goLang release. You can download it from the official site: https://golang.org/dl/ .

The GOPATH environment variable specifies the location of your workspace and it must be properly set. The project directory "orderSchedulingAlgorithm" must be contained in GOPATH/src directory. To get details on how to set the GOPATH environment variable read the official documentation at the section "The GOPATH environment variable" at https://golang.org/doc/code.html

After the installation of the go compiler to execute the script navigate into the project directory "orderSchedulingAlgorithm" .

NOTE The input csv files must be placed in the orderSchedulingAlgorithm/input directory.

go build .
./orderSchedulingAlgorithm

Typical usage:

Optionally you can specify flags value to use different files containing the distance matrix and the delivery times vector.

Usage: orderSchedulingAlgorithm [-i] [-d value] [-m value] [-n value] [-t value] [parameters ...]

 -i, --debug  execute in debug mode: Extra output info

 -d, --distanceMat=value
       distance matrix filename
       
 -m, --nmover=value
       number of movers
       
 -n, --nOrder=value
       number of orders
       
 -t, --deliveryTimes=value
       delivery times vector filename

Example

To execute the solver with 205 orders and 20 movers:

go build . 
./orderSchedulingAlgorithm -m 20 -n 205 --distanceMat=distanceMatrix_ist3.csv --deliveryTimes=delivertTime_ist3.csv

Following the current implementation the given options are the defaults ones. Then the command above is equal to:

go build .
./orderSchedulingAlgorithm

Benchmarks

The files "deliveryTime_ist3.csv" and "distanceMatrix_ist3.csv" must be present in the "input" directory. We perform measurement on 20, 30, 34 and 38 mover with 205 orders.

To execute benchmarks:

go test -test.bench .

aso-heuristic's People

Contributors

van-ema avatar ovidanielb avatar trillaura avatar

Watchers

 avatar  avatar  avatar

Forkers

ovidanielb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.