Solver isn't returning feasible result: simple mfg question

ersterli

New Member
Joined
Nov 3, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I'm trying to use Excel solver to solve a simple optimization problem (example attached).

The problem is set up such that the demand of a product (say, boxes) requires a certain number of machines to exist in a manufacturing site to produce those boxes. And the question is how much product (boxes) would it take to fill up the manufacturing site with machines to a certain target (say, 95%).

So overall,

- There is one objective: to force cell C10 to equal 95% or as high as the constraints allow
- There are two constraints: cell C4 cannot exceed the constraint written in cell C1; and cell C11 cannot exceed the total cost constraint written in cell C2
- There is one lever to change, in order to achieve the solve: cell C4.

When I try to set this up, the solver tells me that there is an infeasible solution, and I can't figure out why. Even if I get rid of the constraints, to error check what I've done, the solver runs but doesn't actually give me an optimized result. So I'm looking for help on what I'm doing wrong about setting up this problem with the solver.

Thanks in advance!

2021-10-28 solver example.xlsx
ABC
1Constraints# boxes demand1500
2Total required cost $$$ 2,000,000
3
4Input parametersBoxes to produce1,000
5Available mfg site space2,000
6Space per machine150
7Cost $$ per machine1,000
8
9Output parameters# machines reqd621
10% of mfg site filled47%
11Total required cost $$$ 621,000
Sheet1
Cell Formulas
RangeFormula
C9C9=ROUNDUP(C4*5000/10080/0.8,0)
C10C10=ROUNDUP(C9*C6/C5/100,2)
C11C11=C9*C7
Named Ranges
NameRefers ToCells
solver_adj=Sheet1!$C$4C9
solver_lhs2=Sheet1!$C$4C9
solver_lhs3=Sheet1!$C$4C9
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Solver can't work with your ROUNDUP functions. When I removed them it worked as expected. You'll need to solve first then round up or down from the solver solution.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top