Develop an algorithm that will work with any combination

Assignment Help Data Structure & Algorithms
Reference no: EM13762304

An online chocolate company wants to develop an automated system to enable them to become more eco friendly as well as save time and money. They have invested in a range of packing of specific sizes and want to develop a software system to make maximum use of these for their products. Their aim is to give the packing staff a dear set of instructions for each order, to make the packing process more efficient and timely. The constraints of the system are as follows:

1. Single items should be packed in bubble packs where possible.

2. A gift card is optional and free on all orders and should go inside the packaging and will fit in all delivery boxes and bubble packs taking up minimal space.

3. Orders over £70 receive a free "champagne truffles' which should be included in the delivery.

4. Each order should be packed into the least number of bubble packs and/or boxes as possible to keep costs low and reduce packaging waste.

5. For the holiday season the company is running a special discount on the purchase of any three selection boxes for £65.

The chocolate company has selected the following range of products to trial the new software with:

CODE

Item

Cost

Width or Diameter

Depth

Height

P106

Milk chocolate coins

£3 50

3cm

-

8cm

P115

Deluxe mixed chocolate coins

£6 50

San

-

12cm

P120

White chocolate truffles

£7

6an

8cm

3cm

A320

Mixed chocolate creams

E9 50

Scm

10cm

3cm

A325

Deluxe chocolate creams

£16 50

Scm

12cm

4cm

BX04

Dark selection box

£25

18cm

25cm

4cm

Bx08

white selection box

£25

20cm

18an

Scm

BX10

Milk selection box

£25

18cm

25cm

4cm

8502

Small chocolate tree decoration

£4 50

6cm

-

-

850S

Large chocolate planet tree decoration

£650

Scm

-

 

5810

Champagne truffles

£10

San

12cm

The range of packing the company has selected is as follows:

Packaging

Width

Depth

Height

S1 Bubble Pack

6cm

3cm

8cm

52 Bubble Pack

8cm

3cm

12cm

52 box

20cm

15cm

10cm

B4 Box

25cm

20cm

10cm

B6 Box

30cm

20cm

20cm

• Bubble Packs are flexible to some extent. The height of the item must not exceed the height of the pack. The sum of the W+D of the item must not exceed the sum of the W+D of the pack.

• All delivery boxes have an inner padding that is 1cm thick on all sides including the bottom and top. The table below shows the outside dimensions of all boxes and packs only.

The company has provided you with the following sample orders to test your system. Workout the correct boxes and packets manually, and then use this data to test your algorithm.

Order Number

Gift
Card

Code

Item Description

Cost

Qty

101:34

Yes

P120

white chocolate truffles

£7

2

101134

-

5502

Small chocolate tree decoration

£4.50

1

101134

 

P106

Milk chocolate coins

f3.50

1

101265

No

8504

Large dkocolate planet tree decoration

f6.50

1

101342

Yes

BX08

white selection box

£23

1

101342

-

P115

Deluxe mixed chocolate coins

f6.50

 

101487

No

5X04

Dark selection box

£25

:

101487

-

BX08

white selection box

£22

 

101487

BX10

Milk selection box

£25

1

101487

-

P115

Deluxe mixed chocolate coins

£6.50

1

101653

yes

A325

Deluxe chocolate creams

£16.50

2

Given the above scenario, develop an algorithm (final design presented as a flow chart) that will work with any combination of items. Your algorithm shou4 generate some form of packing instructions for staff to follow, which should include at least indicate:

• The size and type of the pack or box required

• Some indication on how the items should be arranged

• Any extras that should be included

Reference no: EM13762304

Questions Cloud

What tariff policy is in place for automobile manufacturers : Does NAFTA affect the automobile industry's decisions on what to do with labor costs? Capital costs? If so, how? Was this trade agreement good for the United States from an economic standpoint? Was it good for Mexico from and economic standpoint?
The results of a nursing or health research : The results of a nursing or health research study in which a statistical procedure .
System network administrator : You are the system network administrator for the Can-D company, which is an organization of 3,000 employees working from a large corporate campus in sunny Orlando, Florida.
Analyze the basic principles of selected learning theories : Analyze the basic principles of selected teaching and learning theories. Evaluate the methods that businesses and other post-secondary education environments use to respond to adult learning needs.
Develop an algorithm that will work with any combination : Given the above scenario, develop an algorithm (final design presented as a flow chart) that will work with any combination of items. Your algorithm shou4 generate some form of packing instructions for staff to follow, which should include at leas..
Research cloud computing topologies : Explain some of the challenges in implementing and managing cloud topologies (make sure you include relevant skills needed to manage a cloud network for an organization.
Middle-range theories based problems : The background of the theorist and any concepts that developed from applying the theory to your scenario.
Rendering of a certified opinion : Discuss in two paragraphs if internal controls in this scenario are adequate for the rendering of a certified opinion? What recommendations would you make in order to increase the use of internal controls in this area?
Major information security threats : Write a 3-to 4-page paper on at least three major information security threats that a specific organization you choose faces today. This portion of the assignment should provide a foundation for the sections to be added in Weeks 3 and 4

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Write a flowchart to print the largest of any 3 numbers

Write a flowchart to print the largest of any 3 numbers - Write a flowchart to print a product of 3 numbers.

  Find smallest element and its index

Write a C++ program that inputs 10 integers into an array and displays the inputs, the smallest element and its index

  Using pseudocode, design an algorithm

BuzzButtons is a novelty item company manufacturing personalized lapel buttons. The owner is promoting his buttons by offering them at 99 cents each. He wants you to design a program asking the user for his or her name for the button, an e-mail addre..

  Difference between formulas and functions

Assume your mother in law heard that you prepared the budget for the high school reunion picnic and has asked if you could help her to make a monthly household budget.

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Write algorithm to find schedule obtains maximum amount

Write down algorithm to find schedule which obtains maximum amount of profit, assuming that all processing times are integers between 1 and n. Determine running time of your algorithm.

  Question about binomial tree

A binomial tree of height O, Bo is a one node tree. A binomial tree of height k, Bk is formed through attaching a binomial tree, Bk-1 to root of another binomial tree another binomial tree Bk-1.

  Formula to compute number of address bus conductors

If an address bus needs to be able to address 8-devices, how many conductors will be needed? What if each of those devices also requires to be able to talk back to the I/O control device?

  Sort array of elements using the quick sort algorithm

"sort an array of 10,000 elements using quick sort algorithm as follows: sort the array using pivot as middle element of the array

  Java program to make choice for a coffee cup size

Create an application that prompts the user to make a choice for a Coffee cup size, S for Small, T for Tall, G for Grande and V for Venti the rates of cup sizes will be stored in a parallel double array as $2, $2.50, $3.25, and $4.50 respectively.

  How many bits are needed for the opcode

A digital computer has a memory unit with 32 bits per word. The instruction set consists of 128 different operations. All instructions have an operations code part (opcode) and an address part (allowing for only one address). Each instruction is s..

  Characteristics that influence the buying decision

Purchaser's perceptions of a item and its value are an important influence on pricing. Value consciousness, price consciousness, and prestige sensitivity are three ways of explaining these perceptions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd