Click here to Skip to main content
16,015,921 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: all combinations from a set of numbers Pin
PIEBALDconsult24-Sep-07 17:14
mvePIEBALDconsult24-Sep-07 17:14 
AnswerRe: all combinations from a set of numbers Pin
Stephen Hewitt24-Sep-07 20:40
Stephen Hewitt24-Sep-07 20:40 
GeneralRe: all combinations from a set of numbers Pin
Stephen Hewitt25-Sep-07 22:23
Stephen Hewitt25-Sep-07 22:23 
AnswerRe: all combinations from a set of numbers [modified] Pin
Avi Farah5-Oct-07 9:29
Avi Farah5-Oct-07 9:29 
QuestionAssigning tasks problem Pin
Wjousts21-Sep-07 7:25
Wjousts21-Sep-07 7:25 
AnswerRe: Assigning tasks problem Pin
Shog921-Sep-07 8:17
sitebuilderShog921-Sep-07 8:17 
GeneralRe: Assigning tasks problem Pin
Wjousts21-Sep-07 8:22
Wjousts21-Sep-07 8:22 
QuestionNesting and Optimization Logic Process Pin
ruready51120-Sep-07 15:15
ruready51120-Sep-07 15:15 
Hello,

I work for a steel fabrication plant and am faced with a problem I cannot solve. Hopefully the gang over here at Code Project can help me out a little...

First, let me define the terms I will use (a crash course in steel purchasing):
-Mill Order: simply an order of material placed to the steel mill
-Beams: should be self explanatory, but I want to cover their dimensioning:
-a beam has three dimensions, they are as follows; nominal flange depth (aka width), pounds per foot (weight), and length.
Sample: 10x15x9'-0" ( I should note here that the length property for each beam in the program is defined as the number
of 1/16ths of an inch that make up the length. ->
For the sample, the length would be 1728 (1728/16)/12=9).)
-Hundred Weight (or CWT): is the price of the beam per 100lbs. This is usually around $40-$50
-Standard Size: any beam length 30ft-65ft in increments of 5ft.
-Non-Standard Size: any beam of any length in increments of 6in. There is an extra charge of $0.25/cwt for non-standard beams.
-Bundle Requirements: a standard size 10x15 beam is sold in bundles of 3. If you need 5, you must buy 2 bundles and inventory
the extra.
a non-standard size 10x15 must meet at least one bundle requirement. So, if you need 4, they will sell you
4. But if you need 2, you must buy 3 and inventory the extra.
The bundle requirements change with each flange depth and weight.


Ok. Now to the logic bit...

I am given a list of all the beams for a job to order from the mill. Obviously I do not want to order every beam as is. I need to nest the beams into the mill order to optimize the amount of money being spent. If you do not know what I mean by "nest", let me explain: If I have 6 beams whose dimesions are 10x15x20', instead of ordering the beams without nesting and incuring a charge of $0.25/cwt for the non-standard length, I want to nest those 6 beams into 1 40' bundle.

This is the part that is difficult. I cannot seem to find a logic process to optimize all standard sizes vs. non-standard sizes vs. bundle requiremnts vs. pricing. If I could see a step by step process, or just have an idea of where to start, I would probably be able to begin serious development on the program.

I want to make it VERY CLEAR at this point that I am NOT asking anyone to do this for me. All I am looking for is a point in the right direction or something of that nature. I DO NOT WANT SOURCE FROM ANY LANGUAGE.



Thank you in advance for your time and input,

-David
AnswerRe: Nesting and Optimization Logic Process Pin
Hoss Fly20-Sep-07 20:30
Hoss Fly20-Sep-07 20:30 
GeneralRe: Nesting and Optimization Logic Process Pin
ruready51121-Sep-07 3:54
ruready51121-Sep-07 3:54 
GeneralRe: Nesting and Optimization Logic Process Pin
Hoss Fly21-Sep-07 14:04
Hoss Fly21-Sep-07 14:04 
AnswerRe: Nesting and Optimization Logic Process [modified] Pin
cp987621-Sep-07 19:43
cp987621-Sep-07 19:43 
GeneralRe: Nesting and Optimization Logic Process Pin
Hoss Fly21-Sep-07 20:46
Hoss Fly21-Sep-07 20:46 
GeneralRe: Nesting and Optimization Logic Process Pin
ruready51122-Sep-07 18:33
ruready51122-Sep-07 18:33 
GeneralRe: Nesting and Optimization Logic Process Pin
Hoss Fly23-Sep-07 4:30
Hoss Fly23-Sep-07 4:30 
GeneralRe: Nesting and Optimization Logic Process Pin
cp987622-Sep-07 21:38
cp987622-Sep-07 21:38 
QuestionCalculating work-hour-only time differences Pin
sushicw18-Sep-07 7:43
sushicw18-Sep-07 7:43 
AnswerRe: Calculating work-hour-only time differences Pin
Dan Neely18-Sep-07 7:52
Dan Neely18-Sep-07 7:52 
QuestionCalculate lateral acceleration Pin
AlexB4718-Sep-07 2:25
AlexB4718-Sep-07 2:25 
AnswerRe: Calculate lateral acceleration Pin
Russell'18-Sep-07 4:27
Russell'18-Sep-07 4:27 
AnswerRe: Calculate lateral acceleration Pin
El Corazon18-Sep-07 5:17
El Corazon18-Sep-07 5:17 
GeneralRe: Calculate lateral acceleration Pin
AlexB4726-Sep-07 5:15
AlexB4726-Sep-07 5:15 
GeneralRe: Calculate lateral acceleration Pin
El Corazon26-Sep-07 6:39
El Corazon26-Sep-07 6:39 
QuestionNeural Network Pin
tanj005617-Sep-07 0:04
tanj005617-Sep-07 0:04 
AnswerRe: Neural Network Pin
ic3b3rg317-Sep-07 4:48
ic3b3rg317-Sep-07 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.