+ Reply to Thread
Results 1 to 2 of 2

solver : changing value for costs.

  1. #1
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    solver : changing value for costs.

    How do you add it in a Solver model when the cost of a variable changes within ranges.
    for exemple if x <100 then the cost per unit =50, in the range 100-200 the cost is 40 and when x>200 then the unit cost is 30.
    Solver 'll think there is no linearity and aborts.
    Do you make 3 binary variables, 1 for each range ?
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: solver : changing value for costs.

    Perhaps this link could be of use?
    https://www.excelforum.com/excel-gen...mum-spend.html
    See Hydraulic's (Francesco) uploaded file in #post 9

    Alf

+ 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. [SOLVED] Formula to calculate total shipping costs into prorata costs
    By Torazul in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-23-2023, 06:57 PM
  2. [SOLVED] Calculate Total Costs based on Recurring Costs, Start Date, and Frequency
    By edaniel202 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-05-2021, 12:18 PM
  3. [SOLVED] Sorting a receiving table with changing costs.
    By kylpr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-15-2017, 03:47 PM
  4. Use Solver or VBA to calculate EOQ based on many price options to minimize costs
    By faby2203 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-12-2015, 11:42 AM
  5. Replies: 3
    Last Post: 07-28-2014, 08:57 PM
  6. [SOLVED] Smallest costs. [Excel.Solver]
    By bentor in forum Excel General
    Replies: 3
    Last Post: 09-24-2005, 08:05 PM
  7. costs.[Excel.Solver]
    By bentor in forum Excel General
    Replies: 8
    Last Post: 09-23-2005, 01:05 PM

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