Giter Site home page Giter Site logo

mumulean / job-shop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hun7err/job-shop

0.0 1.0 0.0 1.29 MB

A project for a Combinatorial Optimisation laboratory. Problem description can be found in README

Makefile 2.10% Shell 1.12% TeX 58.67% C++ 38.12%

job-shop's Introduction

Introduction

The job-shop problem (abbreviated JSP) is an NP-hard problem in combinatorial optimisation. In JSP we consider m machines on a production line with n defined jobs; each job consists of different tasks for any of the machines and each of them has its own duration t[i]. The goal is to find the shortest scheduling in which none of the jobs' tasks collide on all of the m machines.

The NP-hardness can be proved using travelling salesman problem (TSP) transforming JSP into it (knowing TSP is NP-hard too, of course): the salesman becomes a machine from JSP and cities become jobs.

Project description

The aim of the project (written for Combinatorial Optimisation laboratory) is to show two ways of dealing with NP-hardness: heuristics (giving results that are not the best ones but valid) and BB (branch and bound)/metaheuristics for getting results with better quality. The source code is written in C++ and can be distrubuted under GPL v3.0 license: http://www.gnu.org/licenses/gpl-3.0.txt

Compilation

The easy Linux way:

make

the easy Windows way:

g++ src/job.cpp src/scheduler.cpp src/task.cpp src/main.cpp -o job-shop

the hard Windows way:

g++ src/job.cpp -o job.o g++ src/scheduler.cpp -o scheduler.o g++ src.cpp/task.cpp -o task.o g++ src/main.cpp -o main.o g++ -o bin/job-shop job.o scheduler.o task.o main.o

job-shop's People

Contributors

hun7err 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.