Using Solver (trouble with constraints)

Sarge12

New Member
Joined
Sep 11, 2023
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
I am having trouble setting up the constraints within Excel Solver, I am pretty green at using Solver with very limited knowledge other than a couple of YouTube videos showing the basics. Here the problem:

There is a news channel that is trying to fit 4 segments within 20 mins with the lowest cost.

Costs:
Local news cost $300 per min
National news $200 per min
Weather $100 per min
Sports $100 per min

Constraints:
At least 15% of the time total time must go to local news
At least 50% total time must be for both local and National news
Weather must be less than or equal to time spent on sports
Weather must be at least 20% of the available time
Sports must be no longer than the total time of local and national news


Book3 (version 1).xlsb
ABCDEF
1Available time20
2
3
4BroadcastLocal newsNational newsWeatherSportsTotal
5Percentages 0%0%0%0%0%
6total time mins7.003.004.001024.00
7Production cost$300.00$200.00$100.00$100.00
8Total Production cost $2,100.00$600.00$400.00$1,000.00$4,100.00
9
10
11
12Sum of national and local
1310.00
Question 31
Cell Formulas
RangeFormula
F5:F6,F8F5=SUM(B5:E5)
B8:E8B8=B7*B6
F13F13=SUM(B6:C6)
Named Ranges
NameRefers ToCells
'Question 31 '!solver_lhs1='Question 31 '!$B$6F6, F13, B8
'Question 31 '!solver_lhs2='Question 31 '!$D$6F6, D8
'Question 31 '!solver_lhs3='Question 31 '!$D$6F6, D8
'Question 31 '!solver_lhs4='Question 31 '!$E$6F6, E8
'Question 31 '!solver_rhs2='Question 31 '!$E$6F6, E8
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,820
Messages
6,181,162
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