Giter VIP home page Giter VIP logo

pctsptw's Introduction

Prize-Collecting Traveling Salesman Problem with Time Windows (PCTSPTW)

This project is designed for educational purposes as project of the corse of Model-Driven Decision Methods a.a 2015/16 (University Of Pisa). The goal is to implement a Linear Programming Model with PuLP and solve it with at least two different solvers, like CBC and GUROBI (Accademic License) in this case (feel free to use whatever you want/need). At last optimize one of these in order to improve performance.

I wrote a simple report (in Italian) as description of the work done. If you need it please contact me.

Tech

This is what you need before running:

  • Python 3.x
  • PuLP - as Python module
  • Pandas - as Python module
  • Numpy - as Python module
  • CBC
  • GUROBI

Files and directories description

A brief description of project contents:

  • module. py - implementation of PCTSPTW problem and solver call
  • instance_utility. py - instances generators and other utility functions
  • data/ - contains all instances
  • src/ - source files

Examples usage

Solve one instance by using CBC with max time 600s:

$ python3 src/model.py instance.dat CBC 600

Solve a set of instance by using GUROBI with max time 10s:

$ python3 src/model.py /path/to/instances_folder/ GUROBI 10

Author

Alessandro Romano

pctsptw's People

Contributors

pigna90 avatar brank53 avatar

Watchers

James Cloos avatar

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.