Code Monkey home page Code Monkey logo

columngenerationforcutstockproblem's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

columngenerationforcutstockproblem's Issues

getting extra cuts

This is my data
6000
[1380, 1520, 1560, 1710, 1820, 1880, 1930, 2000, 2050, 2100, 2140, 2150, 2200]
[22, 25, 12, 14, 18, 18, 20, 10, 12, 14, 16, 18, 20]

Total parts are 219. But in the result
pattern_0: 2000x3 1
pattern_1: 1380x1 1520x3 6
pattern_2: 1380x2 1560x2 2
pattern_3: 1710x1 2140x1 2150x1 11
pattern_4: 1380x3 1820x1 3
pattern_5: 1930x2 2100x1 5
pattern_6: 1880x2 2200x1 9
pattern_7: 1820x1 2050x1 2100x1 9
pattern_8: 1930x2 2140x1 5
pattern_9: 1820x1 2000x1 2150x1 7
pattern_10: 1710x1 2050x1 2200x1 3
pattern_11: 1560x1 2200x2 4
pattern_12: 1380x1 1520x2 1560x1 4

we are getting 222 parts
1380, 1520 & 1820 has one extra cut.

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.