Giter Site home page Giter Site logo

janpalasek / job-shop-scheduling Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 2.0 97 KB

Implementation of job-shop scheduling problem using C#.

License: MIT License

C# 100.00%
c-sharp genetic-algorithm job-scheduling job-shop job-shop-scheduling job-shop-scheduling-problem

job-shop-scheduling's Issues

There is no Gene on index 4 to be replaced.

Hi!
I'm getting an error There is no Gene on index 4 to be replaced.. Is it because my input data is not symmetrical? how to deal with uneven jobs?

INPUT DATA

10 6
1  11  5  12
2  10  5  15
1  10  4  15
3  3  4  5  6  1
2  12  5  13  6  11
3  2  6  3
2  8  4  6
2  11  6  12
2  5  3  6  4  4
1  4  3  3  5  2

STACKTRACE:

STACKTRACE:
   at GeneticSharp.Domain.Chromosomes.ChromosomeBase.ReplaceGene(Int32 index, Gene gene)
   at JobShopScheduling.GeneticAlgorithm.ScheduleChromosome.FixChromosome() in C:\Users\Adam\Downloads\job-shop-scheduling-master\JobShopScheduling\GeneticAlgorithm\ScheduleChromosome.cs:line 104
   at JobShopScheduling.GeneticAlgorithm.ScheduleFitness.Evaluate(ScheduleChromosome chromosome) in C:\Users\Adam\Downloads\job-shop-scheduling-master\JobShopScheduling\GeneticAlgorithm\ScheduleFitness.cs:line 31
   at JobShopScheduling.GeneticAlgorithm.ScheduleFitness.Evaluate(IChromosome chromosome) in C:\Users\Adam\Downloads\job-shop-scheduling-master\JobShopScheduling\GeneticAlgorithm\ScheduleFitness.cs:line 20
   at GeneticSharp.Domain.GeneticAlgorithm.RunEvaluateFitness(Object chromosome)

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.