+ Reply to Thread
Results 1 to 2 of 2

Adding Constraint to Solver

Hybrid View

  1. #1
    Registered User
    Join Date
    08-05-2017
    Location
    AUSTRALIA
    MS-Off Ver
    Microsoft Excel 2010
    Posts
    23

    Adding Constraint to Solver

    Hi,

    I'm trying to add a constraint in Solver for a supply and demand problem, but Solver keeps coming back with 'unable to find a feasible solution.
    The constraint needed to be added is B12:AH12 <= 4. Number of max days an order can be in transit for.

    I've tried adding excess amount to the supply cells AJ13:15, but still Solver is unable to solve.

    Your help is much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,385

    Re: Adding Constraint to Solver

    After half a day, I will venture to comment. I am confused by the constraint that B12:AH12 must be less than or equal to 4. B12:AH12 are hard coded references to the transit times entered in AO:AQ and, as far as I can tell, cannot change. There is nothing in the spreadsheet or Solver model that allows the transit time for Customer1 from Perth (D12 which is mirroring AQ13) to be anything but 7. There is nothing Solver can change to make D12 4 or less, so it comes back with "unable to find a feasible solution".

    I don't understand what you are trying to do with this constraint, but I would suggest that you need to think it through more carefully and edit the spreadsheet or the constraint accordingly.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Excel Solver: adding ratio as a constraint
    By candirt in forum Excel General
    Replies: 7
    Last Post: 12-07-2015, 05:09 PM
  2. Solver Range Constraint
    By Oriolesfan89 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-11-2014, 11:49 AM
  3. Need help with solver---constraint/forumla
    By Drewzer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2012, 01:47 AM
  4. BUY-IN Constraint in Solver
    By WhamBam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-07-2012, 02:30 AM
  5. solver constraint automation
    By dabrows in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2011, 04:22 PM
  6. A wacky solver constraint
    By simonsays in forum Excel General
    Replies: 0
    Last Post: 09-08-2006, 05:14 PM
  7. solver constraint
    By jojo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-18-2005, 10:06 AM

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