GithubHelp home page GithubHelp logo

lasfar1008 / simulatedannealingscheduler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evanoman/simulatedannealingscheduler

0.0 1.0 0.0 6.47 MB

Local Search Scheduling with Simulated Annealing

Java 100.00%

simulatedannealingscheduler's Introduction

Local Search Scheduling with Simulated Annealing

This Repository contains my Java implementation of a Simulated Annealing Local Search Scheduling Algorithm. The algorithm is given a set of tasks which need to be scheduled on some set of machines. Each tasks has a time window in which it can be scheduled. The algorithm then schedules as many high priority randomly generated tasks as possible. See the solution history plots to get an idea of how the simulatred annealing algorithm improves scores over time.

The algorithm works by representing a schedule by a permutation of all the tasks. This permutation is then used to create a schdule by inserting the tasks into the machine slots in the order specified by the task permutation. Any tasks which do not fit are left out. Then at each iteration, the algorithm generates a neighbor schedule by permuting the current schedule's task permutation. If this neighbor has a better score, we select that neighbor as best and move to the next generation. If the neighbor has a worse score, we still accept with some probability which reduces over time.

The algorithm can perform 100,000 iterations with 1000 tasks, 3 machines, and 50 time units in under 1 minute.

simulatedannealingscheduler's People

Contributors

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