Click here to Skip to main content
15,886,026 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: rotation collision response? Pin
Isawyouoo2-Sep-15 2:44
Isawyouoo2-Sep-15 2:44 
QuestionGet best 5 names and their quantity from 3000 strings, by 40 columns. Pin
Member 1192100719-Aug-15 7:46
Member 1192100719-Aug-15 7:46 
AnswerRe: Get best 5 names and their quantity from 3000 strings, by 40 columns. Pin
PIEBALDconsult19-Aug-15 8:02
mvePIEBALDconsult19-Aug-15 8:02 
AnswerRe: Get best 5 names and their quantity from 3000 strings, by 40 columns. Pin
Patrice T21-Aug-15 12:30
mvePatrice T21-Aug-15 12:30 
AnswerRe: Get best 5 names and their quantity from 3000 strings, by 40 columns. Pin
Cenator21-Aug-15 16:44
Cenator21-Aug-15 16:44 
GeneralRe: Get best 5 names and their quantity from 3000 strings, by 40 columns. Pin
Patrice T21-Aug-15 17:10
mvePatrice T21-Aug-15 17:10 
QuestionRe: Get best 5 names and their quantity from 3000 strings, by 40 columns. Pin
Paul Conrad21-Aug-15 17:57
professionalPaul Conrad21-Aug-15 17:57 
QuestionBin Packing Pin
Cenator18-Aug-15 19:59
Cenator18-Aug-15 19:59 
Consider a warehouse with a number of shelves(Bins) that have number, length, width, height and limit Weight capacity.

The Items that place in this warehouse are a number of cubes that have number, length, width, height and weight.

The algorithm must find the right place for Items so Bins have the lowest waste of space. and sum of weight of Items in each bin must not be more than its weight capacity.

Items are placed at the edge of Bins. Namely, any Items can't be placed on Items, behind Items and in front of Items.
____________
I tried to write my problem as an integer linear programming model.

I can't Upload Image Of My Linear Model So I Insert This Link: Here Is the link
[Click Here]
______________
I tried this algorithm:

1_ Sort list of bins Smallest To Biggest.

2_ Sort list of items Biggest To Smallest.

3_ insert each item in first bin that have free space, by best fit algorithm.

It worked but can't swap bins when it's necessary. In other words it is not an optimized algorithm.

please help me Smile | :)

modified 19-Aug-15 5:34am.

AnswerRe: Bin Packing Pin
OriginalGriff18-Aug-15 20:02
mveOriginalGriff18-Aug-15 20:02 
GeneralRe: Bin Packing Pin
harold aptroot19-Aug-15 2:04
harold aptroot19-Aug-15 2:04 
GeneralRe: Bin Packing Pin
Cenator19-Aug-15 2:29
Cenator19-Aug-15 2:29 
GeneralRe: Bin Packing Pin
harold aptroot19-Aug-15 2:55
harold aptroot19-Aug-15 2:55 
AnswerRe: Bin Packing Pin
Patrice T21-Aug-15 12:20
mvePatrice T21-Aug-15 12:20 
GeneralRe: Bin Packing Pin
Cenator21-Aug-15 16:25
Cenator21-Aug-15 16:25 
SuggestionRe: Bin Packing Pin
Patrice T21-Aug-15 17:05
mvePatrice T21-Aug-15 17:05 
AnswerRe: Bin Packing Pin
Patrice T21-Aug-15 18:15
mvePatrice T21-Aug-15 18:15 
GeneralRe: Bin Packing Pin
Cenator21-Aug-15 20:53
Cenator21-Aug-15 20:53 
GeneralRe: Bin Packing Pin
harold aptroot21-Aug-15 23:29
harold aptroot21-Aug-15 23:29 
GeneralRe: Bin Packing Pin
Cenator22-Aug-15 0:04
Cenator22-Aug-15 0:04 
AnswerRe: Bin Packing Pin
Patrice T22-Aug-15 3:46
mvePatrice T22-Aug-15 3:46 
QuestionStrict alternation Pin
Bowri18-Aug-15 4:11
Bowri18-Aug-15 4:11 
AnswerRe: Strict alternation Pin
Simon_Whale18-Aug-15 5:12
Simon_Whale18-Aug-15 5:12 
GeneralRe: Strict alternation Pin
Bowri18-Aug-15 7:14
Bowri18-Aug-15 7:14 
GeneralRe: Strict alternation Pin
Richard MacCutchan18-Aug-15 7:40
mveRichard MacCutchan18-Aug-15 7:40 
GeneralRe: Strict alternation Pin
Bowri18-Aug-15 18:11
Bowri18-Aug-15 18:11 

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.