473,320 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

typical algorithm

Hi Friends,

Ours is a garment factory and we export to many countries by ship.
Every month, we will ship few hundred thousand finished garments. So,
depending on the ship quantity, we book containers of different
sizes(Ex. 40 feet, 20 feet). Each container is measured in CBM(Cubic
Meters).

Suppose we are shipping 5 styles of different quantity and
measurement(cartons).
Style1 32x24x58 5200 pcs 20CBM
Style2 32x32x54 2000 pcs 15 CBM
Style3 32x32x24 6000 pcs 16CBM
Style4 32x24x42 8000pcs 30CBM
Style5 24x26x32 2000pcs 10CBM

And we booked 2 containers (1x40'=66.42CBM and 1x20'=26.80CBM)

Now I want to evaluate which styles can fit in which container based on
CBM.
So, for the above example, style4, style2 and style1 can fit on 66.42
cbm container and style3 and style5 can fit in 24.8 cbm container.
Manually we can estimate this. But I want to evaluate through a
program. I've all the data(each style and no of cartons, total CBM and
number of containers and size for the shipment).

Can anybody suggest me the algorithm? or any sollution?

Any reply is highly appreaciated.

thanx in advance

Nov 20 '06 #1
2 1275
Do you want to work out the required containers or are you booking the
containers, then working out how to fit things in?

Ciaran O'Donnell

"mr************@gmail.com" wrote:
Hi Friends,

Ours is a garment factory and we export to many countries by ship.
Every month, we will ship few hundred thousand finished garments. So,
depending on the ship quantity, we book containers of different
sizes(Ex. 40 feet, 20 feet). Each container is measured in CBM(Cubic
Meters).

Suppose we are shipping 5 styles of different quantity and
measurement(cartons).
Style1 32x24x58 5200 pcs 20CBM
Style2 32x32x54 2000 pcs 15 CBM
Style3 32x32x24 6000 pcs 16CBM
Style4 32x24x42 8000pcs 30CBM
Style5 24x26x32 2000pcs 10CBM

And we booked 2 containers (1x40'=66.42CBM and 1x20'=26.80CBM)

Now I want to evaluate which styles can fit in which container based on
CBM.
So, for the above example, style4, style2 and style1 can fit on 66.42
cbm container and style3 and style5 can fit in 24.8 cbm container.
Manually we can estimate this. But I want to evaluate through a
program. I've all the data(each style and no of cartons, total CBM and
number of containers and size for the shipment).

Can anybody suggest me the algorithm? or any sollution?

Any reply is highly appreaciated.

thanx in advance

Nov 20 '06 #2
Hi friend,

I am very hap to see this reply. I want to work with it how to fit
in also. Can you give me any suggestion? I think you had worked on this
or had an idea of this.
First I need to book containers based on the total CBM. Then I need to
workout with how to fit.
pls give me an idea.

thanx

Ciaran O''Donnell wrote:
Do you want to work out the required containers or are you booking the
containers, then working out how to fit things in?

Ciaran O'Donnell

"mr************@gmail.com" wrote:
Hi Friends,

Ours is a garment factory and we export to many countries by ship.
Every month, we will ship few hundred thousand finished garments. So,
depending on the ship quantity, we book containers of different
sizes(Ex. 40 feet, 20 feet). Each container is measured in CBM(Cubic
Meters).

Suppose we are shipping 5 styles of different quantity and
measurement(cartons).
Style1 32x24x58 5200 pcs 20CBM
Style2 32x32x54 2000 pcs 15 CBM
Style3 32x32x24 6000 pcs 16CBM
Style4 32x24x42 8000pcs 30CBM
Style5 24x26x32 2000pcs 10CBM

And we booked 2 containers (1x40'=66.42CBM and 1x20'=26.80CBM)

Now I want to evaluate which styles can fit in which container based on
CBM.
So, for the above example, style4, style2 and style1 can fit on 66.42
cbm container and style3 and style5 can fit in 24.8 cbm container.
Manually we can estimate this. But I want to evaluate through a
program. I've all the data(each style and no of cartons, total CBM and
number of containers and size for the shipment).

Can anybody suggest me the algorithm? or any sollution?

Any reply is highly appreaciated.

thanx in advance
Nov 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jack Smith | last post by:
Hello, any help appreciated with following problem. I figured out the algorithm (I think), just having trouble proving it is optimal. Suppose we are given n tasks each of which takes 1 unit...
55
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large...
10
by: bpontius | last post by:
The GES Algorithm A Surprisingly Simple Algorithm for Parallel Pattern Matching "Partially because the best algorithms presented in the literature are difficult to understand and to implement,...
32
by: Cmorriskuerten | last post by:
HI, is this is this solution to test if a number is a prime number or not: /* * Is n a prime number? * Return TRUE (1): n is a prime number * Return FALSE (0): n is a *not* a prime number...
113
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same...
4
by: FBM | last post by:
Hi, I am working on a program that simulates one of the elements of ATM. The simulation stores events which occurs every some milliseconds for a certain amount of time. Every time that an event...
2
by: Julio C. Hernandez Castro | last post by:
Dear all, We have just developped a new block cipher called Raiden, following a Feistel Network structure by means of genetic programming. Our intention now consists on getting as much feedback...
0
by: aruna | last post by:
hey guys i earlier had very valuable responses from you all for base64 encoding algorithm.so thank for that. so now i need your assistance to do a float encoding algorithm. you may wonder why i'm...
1
by: almurph | last post by:
Hi everyone, Concerning the Needleman-Wunsch algorithm (cf. http://en.wikipedia.org/wiki/Needleman-Wunsch_algorithm) I have noticed a possible loop. Inside the algorithm there is an...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.