代做program、代写Java/C++程序设计
Coursework: Optimizing Inventory Management with 1D Bin
Packing
1 Overview
This coursework focuses on the application of the 1D bin packing problem to inventory management in
a retail or manufacturing setting. Students will be tasked with developing an algorithm to efficiently
allocate items of various sizes into fixed-size bins (representing storage units or shipping containers) to
minimize space wastage and optimize inventory storage or distribution costs. This real-world applica tion helps in understanding how computational algorithms can solve operational challenges in inventory
management.
This coursework carries 45% of the module marks. The rest of the module marks come from the final
written exam and lab quizs.
2 Background
In inventory management, space optimization is crucial for reducing storage and transportation costs.
The 1D bin packing problem, a classic problem in artificial intelligence and management, involves packing
objects of different volumes into a finite number of bins with a certain capacity in the most space-efficient
way. Applying this concept to inventory management can significantly enhance operational efficiency and
cost-effectiveness.
1
3 Bin Packing Problem (BPP)
Given a set of n items, each item j has a volume of aj
, BPP aims to pack all items in the minimum number
of identical-sized bins without violating the capacity of bins (V ). The problem can be mathematically
formulated as follows:
This mathematical formulation is generally NOT solvable by existing integer programming solvers like
CPlex, Gurobi, and LPSolve, especially when the number of items n is large. To consistently solve the
problem with good quality solutions, metaheuristics and hyper-heuristics are used, which is the task of
this coursework.
4 Objectives
• To understand the principles and applications of the 1D bin packing problem in inventory manage ment.
• To develop and implement an algorithm that optimizes the packing of items into bins.
• To evaluate the algorithm’s efficiency and effectiveness in reducing unused space and potential cost
savings.
5 Materials
Students will be provided materials that include:
• A list of items to be stored or shipped, each with its volume.
• The volume capacity of the bins (assumed to be uniform for simplicity)
• An example python code can output the solution file.
JSON File: https://moodle.nottingham.ac.uk/pluginfile.php/11653384/mod_folder/
content/0/CW_ins.json?forcedownload=1
Example Code: https://moodle.nottingham.ac.uk/pluginfile.php/11653384/mod_folder/
content/0/CW_exp.py?forcedownload=1
2
6 Tasks
• Literature Review:
Study the 1D bin packing problem and existing algorithms used to solve it, such as Next-Fit First-Fit,
Analysis and Reporting:
Analyze the algorithm’s performance, comparing it with other strategies studied during the literature
review. Prepare a detailed report documenting the project’s methodology, implementation, results,
and conclusions.
7
Best-Fit, and other advanced methods.
• Algorithm Selection and Development:
Choose an appropriate algorithm or develop a new strategy for solving the 1D bin packing problem
in the context of inventory management. Implement the algorithm using a programming language
of choice (e.g., Python, Java).
• Simulation and Optimization:
Run simulations using the provided dataset to allocate items into bins based on the developed
algorithm. Optimize the algorithm to improve the space utilization ratio.

Deliverables
• A no more 3 pages report includes a declaration of AI usage, introduction, description of the
chosen algorithm, implementation details, results, analysis (compare with other algorithms), and
conclusions (a PDF file).
• Source code for the implemented algorithm (a Python/C/Cpp/Java file program, program should
take no more than 5 mins on the CS Linux to produce output). Hint: Using delta evaluation or
other methods to save evaulation time, and adapt your approach based on dataset size.
• Solutions for the provided problem sets (a JSON file output by example code).
Note:
• Submit your lab report via the dedicated Moodle coursework link (https://moodle.nottingham.
ac.uk/mod/assign/view.php?id=8081091).
• Essay only accepts .pdf format.
• Code only accepts .py/.c/.cpp/.java format.
• Solution only accepts .json format.
• Please name your submission file as ID FirstName LastName.xxx (e.g., 1234567 Xinan Chen.pdf).
• Late submission is subject to normal late submission penalties. Three extra hours are provided on
the moodle submission portal in case of internet connection issues. The extra hours should not be
relied on for submission. Submitting your essay a few hours before the deadline would always be
good practice.
• You can ask your classmates for help, but you cannot completely copy their code, solutions, or
essays.
• The CS Linux is used to test your program. If your runtime exceeds 5 minutes, it may result in
penalties, or you may even receive a 0 for the results part.
3
• Your solution should match your program. If your program does not match your solution, you may
receive a 0 mark in the results part.
8 Mark Criteria
1. The quality of the experimental results (30%). Your algorithm shall be tested for a file containing
10 instances. The performance of your algorithm is evaluated by computing the absolute gap with
the best-known results using. If your result is better than the best-known result, you will receive a
3-mark bonus perinstance, but the total marks for this coursework cannot exceed 100:
abs gap = your bin used − best known bin used (1)
Criteria
abs gap < 0
abs gap = 0
0 < abs gap <= 1
1 < abs gap <= 2
2 < abs gap <= 3
abs gap > 4 or errors
Mark
3marks + 3 marks bonus per instance
3marks per instance
2marks per instance
3marks per instance
0.5 marks per instance
0marks
Best-known results for all instances:
• Instance: instance 1 Best known of bins used: 52
• Instance: instance 2 Best known of bins used: 59
• Instance: instance 3 Best known of bins used: 24
• Instance: instance 4 Best known of bins used: 27
• Instance: instance 5 Best known of bins used: 47
• Instance: instance 6 Best known of bins used: 49
• Instance: instance 7 Best known of bins used: 36
• Instance: instance 8 Best known of bins used: 52
• Instance: instance large 9 Best known of bins used: 417
• Instance: instance large 10 Best known of bins used: 375
• Total: 1138
Note: Use the solution marker to check the mark and feasibility for your solution.
https://moodle.nottingham.ac.uk/pluginfile.php/11653384/mod_folder/content/0/
CW_marker.py?forcedownload=1
2. The quality of codes (30%) The code quality evaluation will be based on the following criteria, each
contributing to the total mark of 30. The objective is to assess not only the functionality of the
code but also its efficiency, readability, and adherence to good programming practices.
(a) Readability (10 Marks)
• Clarity: Code is easy to read and understand (5 Marks).
• Comments: Adequate comments are provided to explain the logic and functionality (5
Marks).
4
(b) Structure and Organization (10 Marks)
• Modularity: Code is well-structured and divided into functions or modules where appro-
priate (6 Marks).
• Consistency: Consistent naming conventions and code layout (4 Marks).
(c) Efficiency and Performance (10 Marks)
• Algorithm Efficiency: The chosen algorithm or approach efficiently solves the problem (6
Marks).
• Resource Management: Efficient use of computational resources, minimizing unnecessary
computations (4 Marks).
3. Report (40%) The report submitted for evaluation will be assessed based on the following criteria,
totaling 40 marks:
(a) Introduction and Background (7 Marks)
• Clarity of Problem Statement (4 Marks): Clear presentation of the problem being ad dressed.
• Context and Relevance (3 Marks): Explanation of the importance and applications of the
problem.
(b) Methodology (10 Marks)
• Approach and Justification (5 Marks): Detailed description of the approach taken to solve
the problem, including justification for the chosen methods.
• Implementation Details (5 Marks): Comprehensive explanation of how the solution was
implemented, including any algorithms, models, or frameworks used.
(c) Results and Analysis (16 Marks)
• Presentation of Results (6 Marks): Clear and accurate presentation of the findings, sup ported by appropriate figures, tables, or graphs.
• Critical Analysis (10 Marks): In-depth analysis of the results, including comparing their
performance with other methods and the pros and cons of each method.
(d) Conclusion and Recommendations (7 Marks)
• Summary of Key Findings (4 Marks): Concise summary of the main outcomes of the
project.
• Future Work and Recommendations (3 Marks): Insightful suggestions for future research
or improvements to the project based on the findings.
9 AI Usage
This coursework permits using AI to assist in programming or essay writing. However, you must declare
the use of AI at the beginning of your essay (e.g., used AI for programming). Failure to do so may
result in a loss of marks for any part where AI assistance is detected.
5
10 Repetition Check
If a repetition rate higher than 20% is found (or 5% from a single source), your submission will be
checked by lecturers. You may lose a certain number of marks for improper citations, plagiarism, etc.
Severe cases will be reported to the exam officer for further action.
6

热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图