Skip to content

Distinguishing between Next Fit and Best Fit algorithm used for optimising stock cutting problem

Notifications You must be signed in to change notification settings

shreyansh08/1DStockCutting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1DStockCutting

Distinguishing between Next Fit and Best Fit algorithm used for optimising stock cutting problem

You need following libraries to run the program numpy matplotlib sys

If you want to change the input file, change it in algo.py where the file is opened. If you want to create new test cases, use following format for creating new file:

number_of_test_cases rod_length number_of_orders order_values (sepearated by space)

repeat above 2 process for number_of_test_cases If it is still confusing, take a look at output.txt to understand the input format for the algo.py

To show graphs, uncomment the lines in algo.py file

About

Distinguishing between Next Fit and Best Fit algorithm used for optimising stock cutting problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages