+ Reply to Thread
Results 1 to 19 of 19

Finding Optimal Combination in a Matrix

  1. #1
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Finding Optimal Combination in a Matrix

    I've been assigned a task of finding a combination of three or four machines. For example AD,AJ,AQ, and AB would equal 7 therefore it would be the best combination of workstations for that cell. However, I'm having an issue that if AD, AJ, AQ, and AB are being selected more than once.

    My question is, how can I analyze all the data and determine the best combination given the relationships for each row given the column.

    3 = Absolutely Necessary
    2 = Extremely Necessary
    1 = Necessary
    0 = Do not associate

    Please Login or Register  to view this content.
    Thanks in advance !!
    Last edited by snap101; 11-15-2009 at 05:18 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Finding Optimal Combination in a Matrix

    Could you possibly post that as a workbook? Will be much easier to figure out a solution.

    click "Go Advanced" below and then the paperclip icon to attach a file.

    So, "best" means highest score based on the scores in the table?

  3. #3
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Smile Re: Finding Optimal Combination in a Matrix

    Attached is an Excel generated response surface graph

  4. #4
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Finding Optimal Combination in a Matrix

    I've attached the excel document. Any help would be appriciated as I am told there is no KNOWN way of determining the optimal solution.

    Thanks in advance !!
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Finding Optimal Combination in a Matrix

    I would like the best combination of stations, however once a station is used 3 or 4 times I would like it to skip that work station and move onto the next.

    Therefore, for any given workstation there cannot be more than 4 possible workstation combinations.
    Last edited by snap101; 11-13-2009 at 11:35 PM.

  6. #6
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Re: Finding Optimal Combination in a Matrix

    Please look at my attachment (sent previously). There are multiple solutions

  7. #7
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Finding Optimal Combination in a Matrix

    Quote Originally Posted by SDruley View Post
    Please look at my attachment (sent previously). There are multiple solutions
    I'm unable to see any attachments

  8. #8
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Re: Finding Optimal Combination in a Matrix

    The array is attached. You might rate the various combinations from 1 to 10 to determine where the top of the mountain is. If you knew the costs of each combination, we could enter that as a third variable.
    Attached Files Attached Files

  9. #9
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,103

    Re: Finding Optimal Combination in a Matrix

    Here, see this:

    BLOCKDIAGRAM(1).xls

    Unfortunally, I had to put same number of helper columns as there is data.

    However, if it's good approach then someone will minimise it
    Never use Merged Cells in Excel

  10. #10
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Re: Finding Optimal Combination in a Matrix

    It would appear that the cells in the matrix must be the product of the following:
    X = The perceived degree of importance of having timely data and information to improve production operations [1-10]
    Y = The distance between the terminals on a normalized scale from [10-1]
    Z = The cost of installing a workable terminal environment (may need an ANSI cabinet) from (10-1)

    Each of the above variables must also have a coefficient exclaiming the relative importance of each variable on manufacturing costs and quality.
    These variables could be named Cx, Cy, Cz

    So, in the case of where the assembly lines need to exchange data with the Tool Room, you might have an equation as follows:
    Mfg Costs = (Cx)*(X)*(Cy)*(Y)*(Cz)*(Z)
    Use this equation for each cell

    Highlight all of the cells in the finished matrix and insert a contour plot using Excel

    The resulting peaks in the terrain represent optimum solutions for maximizing productivity and value.

    Don't ever try to do something like this that is disassociated with its connection to manufacturing

  11. #11
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Arrow Re: Finding Optimal Combination in a Matrix

    I found a workbook someone had put together that would work for my problem, however, after trying to use it I'm getting an VB error.

    Can someone please take a look, the VB password is 5RHLYB

    thanks in advance !!
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Finding Optimal Combination in a Matrix

    This is the area in the VB code that's preventing it from running. It's pointed at Me.MSFlexGrid

    Please Login or Register  to view this content.
    Last edited by snap101; 11-15-2009 at 01:16 AM.

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Finding Optimal Combination in a Matrix

    Please take a few minutes to read the forum rules, and then edit your post to add code tags.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  14. #14
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Arrow Re: Finding Optimal Combination in a Matrix

    I've turned off the password protection on the spreadsheet. Can someone please take a look into why I can't get it to work, might be becasue I'm using excel 2007 and this might have been made using 97/03.

    It's the only thing I could find that was was close to what I was looking for.

    Thanks in advance !!

    EDIT* It appears the file name had to be saved as Excel-Corelap.xls in order to function properly.

    If someone could please take a look and find out why Me.MSFLEXGRID1 isn't working I'd really appriciate it.
    Attached Files Attached Files
    Last edited by snap101; 11-15-2009 at 04:08 PM.

  15. #15
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Re: Finding Optimal Combination in a Matrix

    I took a look at your software. It is very sophisticated. It appears that there is an add-in missing. Go back to the source to get it.

    As a suggestion in the future it would be my recommendation that you give the user community some idea about your purpose and objective and the primary variables associated with accomplishing them.

  16. #16
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Finding Optimal Combination in a Matrix

    It uses a FlexGrid control on one of the forms.

    See http://msdn.microsoft.com/en-us/libr...49(VS.60).aspx
    Last edited by shg; 11-15-2009 at 12:14 PM.

  17. #17
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Re: Finding Optimal Combination in a Matrix

    I have learned a great deal from this thread. Obviously, you are in your own zone and know a lot more about this subject than I do. Excel Forum pays off again.

  18. #18
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Finding Optimal Combination in a Matrix

    Not from me -- never used a FlexGrid, just compiled the code and looked for the error. I never had a clue what the rest of the thread was about.
    Last edited by shg; 11-15-2009 at 05:05 PM.

  19. #19
    Registered User
    Join Date
    11-13-2009
    Location
    Oshawa
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Finding Optimal Combination in a Matrix

    FLEXGRID wans't working due to a windows security update.

    FYI...WINDOWS SECURITY UPDATE KB960715 disables the use of several activeX features in excel. Uninstall this update and it worked flawlessly just had to re-add the flexgrid to the form.

    Thanks for the help !!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1