+ Reply to Thread
Results 1 to 1 of 1

Linear Program with Solver

  1. #1
    Registered User
    Join Date
    03-13-2020
    Location
    NYC
    MS-Off Ver
    16.0 32bit
    Posts
    7

    Linear Program with Solver

    Hello,

    I am trying to add a level of complexity to a transshipment problem (mixed integer linear program) utilizing solver.

    The problem is trying to minimize the total cost of meeting many end location demands by supplying from a single origin (Cincinnati). Cost is a function of throughput (KG) multiplied by distance (Mi).
    The constraints of the problem are as follows:
    - Must meet minimum demand by end location,
    - If an intermediate is used, product in must equate to product out (linking constraint)
    - If an intermediate is used, it will be listed as "1" as a binary constraint and will be required to have at least one input go through it (will force a location to ship something if being utilized).
    - Min/Max constraint on number of intermediaries to use

    This problem has been solved on the tab "Original MILP".


    What I need support on is to add a level of complexity to the problem which is more resemblant of real life.

    For example, say I worked at a Juice company in Cincinnati, and had the option of shipping finished product of juice from origin to each of the respective destinations. As an alternative, I could ship a concentrated form of the juice from Cincinnati to any one of the transshipment nodes, add water to the concentrated form, and then from there ship the finished product to each of the respective destinations. This would save me 66% on the first leg transportation cost, as 1 KG of finished product juice only requires 0.33KG of the concentrated form of juice. The savings would only be on the first portion of the logistics.

    How would I go about adding this constraint? I had issues with linearity (as expected) when trying to add if statements to my end solution. I believe it is something to do with making the linking constraint dynamic but i am currently stuck. Any support is phenomenally appreciated, thanks!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 06-01-2021, 03:25 AM
  2. Solver: How to maximize a mark average (non-linear problem) in a linear way?
    By Sunday4th in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-07-2017, 07:42 AM
  3. Excel solver - Trouble with linear programming using solver excel
    By spicyscreamer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2017, 08:01 AM
  4. Linear program using Excel Solver
    By natygrosso in forum Excel General
    Replies: 6
    Last Post: 07-02-2014, 09:00 PM
  5. Absolute value to linear program
    By Gdespont in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2013, 10:04 AM
  6. [SOLVED] Excel Solver linear program
    By Johnford in forum Excel General
    Replies: 5
    Last Post: 10-25-2012, 02:40 AM
  7. [SOLVED] Mixed integer linear program using Excel solver
    By Schizoid Man in forum Excel General
    Replies: 2
    Last Post: 08-08-2006, 01:30 PM

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