Click here to Skip to main content
15,919,479 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionNesting and Optimization Logic Process Pin
ruready51120-Sep-07 15:15
ruready51120-Sep-07 15:15 
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 
Alright, we are getting closer. The next suggested steps would be:

Problem3:
[1] Assume nominal flange depth and pounds per foot are fixed.
[2] Assume there are only only non-standard sizes.

Problem4:
[1] Assume nominal flange depth and pounds per foot are fixed.
[2] Assume there is one standard size (e.g., 30') and non-standard sizes.

After you solve Problem4 you will then have unraveled another aspect of your algortihm (how the standard and non-standard sizes impact the logic.)

The big picture ...

I have often been in need of a niche-like algorithm similar in complexity to yours. I cannot count the times I have been frustratingly lost and on my own as well. My intent was not to give you fish, but rather share with you how I have caught several fish. You have used that now to (almost) catch your own fish, and that is very rewarding.

Sometimes you may not catch your fish, but by applying good problem solving skills (e.g., break down, relaxing conditions, combining sub-optimal sub-solutions, etc...), you gain the knowledge and understanding needed to realize what aspect of someone else's solution might work for you.

You will soon have your own algorithm. Not only that, you will have a deeper understanding of the mechanics of your problem. Having an algorithm is one thing - an optimal algorithm is another. Being able to analyze optimality requires intimacy with the problem. You are gaining this intimacy as well.

The standard means to measure optimality is to do a flop count (floating point operations). Some folk measure a "flop" as one addition and one multiplication. The idea is to then count the flops in your algorithm.

A good example is Matrix-Vector multiplication. To multiply an n-by-n matrix by a an n-vector would require roughly n^2 flops. Sometimes your matrix may have special properties (e.g., cyclic) and there are algorithms out there that can do the work in far less than n^2 flops.

I would suggest at least an attempt to count flops. This is a very difficult aspect of algorithm construction. Once you have completed your algorithm, and have been over the entire process with diligence, you will then be in a position to analyze the good/bad of a previous post about a possible alternative algorithm for you. I leave it to you to weigh the good and bad of that algorithm.

Best Regards,
HossFly

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 
GeneralRe: Neural Network Pin
tanj005618-Sep-07 4:51
tanj005618-Sep-07 4:51 
QuestionHamiltonian algorithms Pin
Patrick Etc.16-Sep-07 12:05
Patrick Etc.16-Sep-07 12:05 
AnswerRe: Hamiltonian algorithms Pin
Tim Craig17-Sep-07 17:59
Tim Craig17-Sep-07 17:59 
GeneralRe: Hamiltonian algorithms Pin
Patrick Etc.18-Sep-07 6:45
Patrick Etc.18-Sep-07 6:45 
QuestionTumbnail algorithm Pin
martin_hughes14-Sep-07 0:33
martin_hughes14-Sep-07 0:33 
AnswerRe: Tumbnail algorithm Pin
Giorgi Dalakishvili14-Sep-07 0:54
mentorGiorgi Dalakishvili14-Sep-07 0:54 
GeneralRe: Tumbnail algorithm Pin
martin_hughes14-Sep-07 1:30
martin_hughes14-Sep-07 1:30 

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.