Results 1 to 3 of 3

VBA Optimization using matrixes

Threaded View

  1. #1
    Registered User
    Join Date
    05-21-2019
    Location
    NL
    MS-Off Ver
    365
    Posts
    2

    VBA Optimization using matrixes

    Hello,

    I'd like to know the proper method to do the following:

    I've a table consisting of different products (raw materials) with different properties. Refer to the first input table in the attachment for a small example. The different products are in the columns, the properties are the rows.

    I want to calculate a mix from these different products to a desired composition. See Input table 2 in the attachment.

    All these raw materials have different prices, there are multiple solutions available. I want to have the cheapest combination of raw materials. Refer to the output table.

    What my idea is that I have two matrixes: the raw materials matrix and the desired product matrix. I'd like to know the best way by using these matrixes (in vba) to optimize the composition with the lowest price and eventually have an optimization to maximize consumption of a raw material, while still having a low price combination.

    Kind regards,
    whitetigerck
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA optimization
    By ChipsSlave in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 12-14-2016, 09:57 AM
  2. Problem with inverse matrixes 6x6 matrix
    By fabio12 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-22-2014, 07:06 PM
  3. Formula Optimization for Combining Matrixes
    By par0016 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-20-2013, 03:23 AM
  4. Replies: 2
    Last Post: 12-23-2010, 09:30 PM
  5. Replies: 1
    Last Post: 11-19-2008, 08:35 PM
  6. I need of optimization -Please help!
    By Mm73 in forum Excel General
    Replies: 1
    Last Post: 08-25-2008, 02:18 PM
  7. Replies: 0
    Last Post: 08-29-2005, 11:08 AM

Tags for this Thread

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