SlideShare a Scribd company logo
1 of 28
Target Company
O p t i m i z a t i o n P r o b l e m
SC0X-MIT
By/ Mostafa Ashour
MM-SCX Student
Excel Solver
Solution Steps
Target Company
Target Company is a metal forming company that offers several types of products. One of its
sections produce one product family that consists of three types of products (1) Pin, (2) lock and
(3) coil.
Each type requires a certain number of labor hours and certain amount of steel. The resources
required and profits generated by each type are shown in the table below:
PIN LOCK COIL
LABOR REQ'D 3 hours 5 hours 8 hours
STEEL REQ'D 2 bags 5 bags 8 bags
COST $2K $3K $4K
PRICE $3K $5K $7K
Target Company
For the month of January, Target Company has 325 tons of steel and 400 hours of labor available.
Solve this problem optimally so that Target Company profit for January is maximized.
• how many items of the Pin type should Target Company Produce in January?
• how many items of the Lock type should Target Company Produce in January?
• how many items of the Coil type should Target Company Produce in January?
• what is Target Company expected profit for January?
Win 10 Excel 365 and Open Solver.
To Solve This problem, We Can Using MS Excel and download Open Solve individually.
Open Solver has been developed for Excel 2007/2010/2013/2016 (including the 64bit versions)
To download open solver
https://opensolver.org/
Set-Up Data
Set-Up Variable
Set-Up Objective Function
Set-Up Constrains
Configure Solver
Solve and Check for any errors
Steps of solver
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 1 – Set-Up Data
PIN LOCK COIL
LABOR REQ'D 3 hours 5 hours 8 hours
STEEL REQ'D 2 bags 5 bags 8 bags
COST $2K $3K $4K
PRICE $3K $5K $7K
Copy and Format the data can makes
solution easier as we will see.
Step 2 – Set-Up Variable
The decision variable is how many
items of each type should
company produce ?
We have Xp, Xl, and Xc
To easier solving decision variable
is the same shape of data
Step 3 – Set-Up Objective Function
We need to maximize Profit so, we
calculated Profit (Price-Cost).
Obj.Function is the Profit multiplied by
Decision variable.
So we can write the Obj.Fun as:
=sumproduct(variables_cells,Profits_cell)
Step 4 – Set-Up Constrains
In This Part we have two constrains to ensure the available resources.
Using Sum Product function to set up these constrain
We will use this formulas into solver later
Step 5 – Configure Solver
Choose Solver from Data tap .
Setting Obj.Fun by its cell.
To>> MAX
Selecting all variable cells
Press add to build constrains
Building Constrains
To ensure non negativity of the variables
To set variables as integer
Resource availability constrains
Step 5 – Solve and Check for any errors
After setting all constrains, Start solving .
here we can select solving method. But in MILP any
linear engine will do.
Now we will do the same steps to continue the problem.
Target Company cont.
In February, According to sales department they realized that they should doesn’t produce more
than 40 units of any type and at least 10 units of any type to ensure diversity in March month.
you have decided to both add the new constraints - to ensure diversity and that no more than 40
units of any given type will be offered in the month.
For the month of March, Target Company has 340 tons of Steel and 360 hours of labor available.
PIN LOCK COIL
MIN REQ’D 10 10 10
MAX ALLOWED 40 40 40
According To The Optimal solution :
▪ how many units of the Pin type should Target Company offer in March?
▪ how many units of the Lock type should Target Company offer in March?
▪ how many units of the Coil type should Target Company offer in March?
▪ what is Target Company expected profit for March?
We have added min and max req. to the data and change the available recourses variables
PIN LOCK COIL
MIN REQ’D 10 10 10
MAX
ALLOWED
40 40 40
Then Add two new constrains to ensure those.
Equal min req. cells
Equal decision variable cells
Update your Solver config and
solve with the new solution.
Target Company cont.
In April, The Creative Department of Target Company has figured out a way to add diversity to the
Products, so that Target Company won't get bored doing the same thing over and over, while giving
customers a sense of diversity in the offering. Based on this, the President of the company has
decided to scrap both the mandatory minimum and maximum in the number of Prodcts offered
during April. In other words, these two constraints won't apply any more.
The new acts, however, require renting a special piece of equipment for each type. Because of this,
there is now a fixed cost that Target Company has to pay if they decide to offer a given type of
package in a month. These fixed costs are: $10K a month for the equipment that is rented if any Pin
type are offered, $5K a month for the equipment that is rented if any Lock type are offered, and $1K
a month for the equipment that is rented if any Coil type are offered.
Target Company cont.
PIN LOCK COIL
FIXED COST $ 10 $ 5 $ 1
For the month of April, Target Company has 360 tone of steel and 500 hours of labor..
Solve this problem optimally so that Target Company ' profit for April is maximized, while
respecting all the constraints.
We have added Fixed cost to the data and change the available recourses variables
PIN LOCK COIL
FIXED COST $ 10 $ 5 $ 1
Adding fixed costs if a type is offered requires the addition of a binary variable.
I recommend set up binary variable in the same shape of integer variable
Binary variable is multiplied by the fixed cost of a particular type. Then added on to the objective
function.
It means If the type is used, then the binary constraint is one and the fixed cost is counted in the
objective function. If the type is not used, then the binary constrain is zero and the fixed cost is not
counted in the objective function
Obj.Fun=Sumproduct of the (Profit,
variables) – Sumproduct of the (Fixed
cost,Binary)
Binary variable needs to linking constrain to make sure that it properly represents fixed costs.
Here I used 1000 as a big number to establish linking constrains
Xp-1000*y1<=0
y=0 no Xp is used.
y=1 Xp <=1000
and it’s already will.
Update your Solver config and solve with the new solution.
Define binary variables Add Linking Constrains (the same way that in previous parts)
Do Not Forget Selecting Binary variable cells with
integer variable as changing decision variables
Target Company cont.
he President of Target Company has decided that, to justify paying the fixed costs of renting the
equipment, it makes sense to establish a required minimum number of units of each type. If this
minimum is not offered, it is better - he decides - not to offer any Products of that type.
For the month of May,, Target Company has 400 ton of steel and 460 hours of labor available.
PIN LOCK COIL
FIXED COST $ 10 $ 5 $ 1
MINIMUM IF OFFERED 100 50 10
PIN LOCK COIL
FIXED COST $ 10 $ 5 $ 1
MINIMUM IF
OFFERED
100 50 10
Here we will keep fixed cost but also add Minimum if offered constrain.
It means if particular type is produced then minimum amount must be as following.
Min req. is conditioned
by binary. So the
equation will be :
X>=min.req*y
Now we have different consideration with different optimal
solutions in order to help manager to decide the best
operating condition
THANK YOU!For Excel Spreadsheet

More Related Content

Similar to Optimization with minimums and maximums capacity excel

COST VOLUME PROFIT ANALYSIS
COST VOLUME PROFIT ANALYSISCOST VOLUME PROFIT ANALYSIS
COST VOLUME PROFIT ANALYSISSwapnaSaritKar2
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptxDejeneDay
 
BUSI2301 Introduction to Operations Management F
BUSI2301 Introduction to Operations Management FBUSI2301 Introduction to Operations Management F
BUSI2301 Introduction to Operations Management FVannaSchrader3
 
Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1individaulpost
 
Procedure rol against retail raw data
Procedure rol against retail raw dataProcedure rol against retail raw data
Procedure rol against retail raw dataPalash Halder
 
Devry acct 346 week 4 midterm 2
Devry acct 346 week 4 midterm 2Devry acct 346 week 4 midterm 2
Devry acct 346 week 4 midterm 2uopassignment
 
Business Decision Making Exam Help
Business Decision Making Exam HelpBusiness Decision Making Exam Help
Business Decision Making Exam HelpEconomics Exam Help
 
Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1uopassignment
 
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbbEvans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbbVikasRai405977
 
Bsop 330 all weeks discussion questions
Bsop 330 all weeks discussion questionsBsop 330 all weeks discussion questions
Bsop 330 all weeks discussion questionsWalter Bartlett
 
Acct 346 week 4 midterm 1
Acct 346 week 4 midterm 1Acct 346 week 4 midterm 1
Acct 346 week 4 midterm 1uopassignment
 
Uop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-newUop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-newi88057782
 
Uop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-newUop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-neweshwaryyyy
 
ACCT 346 Effective Communication/tutorialrank.com
 ACCT 346 Effective Communication/tutorialrank.com ACCT 346 Effective Communication/tutorialrank.com
ACCT 346 Effective Communication/tutorialrank.comjonhson248
 
Space Age Furniture CompanyRead Space Age Furniture Company” .docx
Space Age Furniture CompanyRead Space Age Furniture Company” .docxSpace Age Furniture CompanyRead Space Age Furniture Company” .docx
Space Age Furniture CompanyRead Space Age Furniture Company” .docxjensgosney
 

Similar to Optimization with minimums and maximums capacity excel (20)

COST VOLUME PROFIT ANALYSIS
COST VOLUME PROFIT ANALYSISCOST VOLUME PROFIT ANALYSIS
COST VOLUME PROFIT ANALYSIS
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
BUSI2301 Introduction to Operations Management F
BUSI2301 Introduction to Operations Management FBUSI2301 Introduction to Operations Management F
BUSI2301 Introduction to Operations Management F
 
Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1
 
Procedure rol against retail raw data
Procedure rol against retail raw dataProcedure rol against retail raw data
Procedure rol against retail raw data
 
Devry acct 346 week 4 midterm 2
Devry acct 346 week 4 midterm 2Devry acct 346 week 4 midterm 2
Devry acct 346 week 4 midterm 2
 
Business Decision Making Exam Help
Business Decision Making Exam HelpBusiness Decision Making Exam Help
Business Decision Making Exam Help
 
Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1Devry acct 346 week 4 midterm 1
Devry acct 346 week 4 midterm 1
 
Kompilasi bahan-sebelum-uts
Kompilasi bahan-sebelum-utsKompilasi bahan-sebelum-uts
Kompilasi bahan-sebelum-uts
 
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbbEvans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
 
Bsop 330 all weeks discussion questions
Bsop 330 all weeks discussion questionsBsop 330 all weeks discussion questions
Bsop 330 all weeks discussion questions
 
3rd Semester MBA (June-2015) Question Papers
3rd Semester MBA (June-2015) Question Papers3rd Semester MBA (June-2015) Question Papers
3rd Semester MBA (June-2015) Question Papers
 
Acct 346 week 4 midterm 1
Acct 346 week 4 midterm 1Acct 346 week 4 midterm 1
Acct 346 week 4 midterm 1
 
Uop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-newUop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-new
 
Uop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-newUop acc-349-week-5-individual-connect-problems-new
Uop acc-349-week-5-individual-connect-problems-new
 
ACCT 346 Effective Communication/tutorialrank.com
 ACCT 346 Effective Communication/tutorialrank.com ACCT 346 Effective Communication/tutorialrank.com
ACCT 346 Effective Communication/tutorialrank.com
 
011811 econ supply 100m
011811 econ supply 100m011811 econ supply 100m
011811 econ supply 100m
 
Agg plan inventory
Agg plan inventoryAgg plan inventory
Agg plan inventory
 
Space Age Furniture CompanyRead Space Age Furniture Company” .docx
Space Age Furniture CompanyRead Space Age Furniture Company” .docxSpace Age Furniture CompanyRead Space Age Furniture Company” .docx
Space Age Furniture CompanyRead Space Age Furniture Company” .docx
 
012011 econ walmart 50m
012011 econ walmart 50m012011 econ walmart 50m
012011 econ walmart 50m
 

Recently uploaded

Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceanilsa9823
 
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdfssuserded2d4
 
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...Call Girls in Nagpur High Profile
 
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...shivangimorya083
 
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...amitlee9823
 
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...poojakaurpk09
 
CALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual serviceanilsa9823
 
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls DubaiDark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls Dubaikojalkojal131
 
Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptxMotilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptxMaulikVasani1
 
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Top Rated Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...
TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...
TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...rightmanforbloodline
 
Joshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxJoshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxsportsworldproductio
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...amitlee9823
 
Zeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectZeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectPriyanshuRawat56
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Pooja Nehwal
 

Recently uploaded (20)

Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
 
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
 
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...
 
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls South Delhi 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
 
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
 
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
Virgin Call Girls Delhi Service-oriented sexy call girls ☞ 9899900591 ☜ Rita ...
 
CALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Gosainganj Lucknow best sexual service
 
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls DubaiDark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
 
Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jayanagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptxMotilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
 
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Top Rated Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Deccan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...
TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...
TEST BANK For An Introduction to Brain and Behavior, 7th Edition by Bryan Kol...
 
Joshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxJoshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptx
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Zeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectZeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effect
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
 

Optimization with minimums and maximums capacity excel

  • 1. Target Company O p t i m i z a t i o n P r o b l e m SC0X-MIT By/ Mostafa Ashour MM-SCX Student Excel Solver Solution Steps
  • 2. Target Company Target Company is a metal forming company that offers several types of products. One of its sections produce one product family that consists of three types of products (1) Pin, (2) lock and (3) coil. Each type requires a certain number of labor hours and certain amount of steel. The resources required and profits generated by each type are shown in the table below: PIN LOCK COIL LABOR REQ'D 3 hours 5 hours 8 hours STEEL REQ'D 2 bags 5 bags 8 bags COST $2K $3K $4K PRICE $3K $5K $7K
  • 3. Target Company For the month of January, Target Company has 325 tons of steel and 400 hours of labor available. Solve this problem optimally so that Target Company profit for January is maximized. • how many items of the Pin type should Target Company Produce in January? • how many items of the Lock type should Target Company Produce in January? • how many items of the Coil type should Target Company Produce in January? • what is Target Company expected profit for January?
  • 4. Win 10 Excel 365 and Open Solver. To Solve This problem, We Can Using MS Excel and download Open Solve individually. Open Solver has been developed for Excel 2007/2010/2013/2016 (including the 64bit versions) To download open solver https://opensolver.org/
  • 5. Set-Up Data Set-Up Variable Set-Up Objective Function Set-Up Constrains Configure Solver Solve and Check for any errors Steps of solver Step 1 Step 2 Step 3 Step 4 Step 5 Step 6
  • 6. Step 1 – Set-Up Data PIN LOCK COIL LABOR REQ'D 3 hours 5 hours 8 hours STEEL REQ'D 2 bags 5 bags 8 bags COST $2K $3K $4K PRICE $3K $5K $7K Copy and Format the data can makes solution easier as we will see.
  • 7. Step 2 – Set-Up Variable The decision variable is how many items of each type should company produce ? We have Xp, Xl, and Xc To easier solving decision variable is the same shape of data
  • 8. Step 3 – Set-Up Objective Function We need to maximize Profit so, we calculated Profit (Price-Cost). Obj.Function is the Profit multiplied by Decision variable. So we can write the Obj.Fun as: =sumproduct(variables_cells,Profits_cell)
  • 9. Step 4 – Set-Up Constrains In This Part we have two constrains to ensure the available resources. Using Sum Product function to set up these constrain We will use this formulas into solver later
  • 10. Step 5 – Configure Solver Choose Solver from Data tap . Setting Obj.Fun by its cell. To>> MAX Selecting all variable cells Press add to build constrains
  • 11. Building Constrains To ensure non negativity of the variables To set variables as integer Resource availability constrains
  • 12. Step 5 – Solve and Check for any errors After setting all constrains, Start solving . here we can select solving method. But in MILP any linear engine will do.
  • 13. Now we will do the same steps to continue the problem.
  • 14. Target Company cont. In February, According to sales department they realized that they should doesn’t produce more than 40 units of any type and at least 10 units of any type to ensure diversity in March month. you have decided to both add the new constraints - to ensure diversity and that no more than 40 units of any given type will be offered in the month. For the month of March, Target Company has 340 tons of Steel and 360 hours of labor available. PIN LOCK COIL MIN REQ’D 10 10 10 MAX ALLOWED 40 40 40
  • 15. According To The Optimal solution : ▪ how many units of the Pin type should Target Company offer in March? ▪ how many units of the Lock type should Target Company offer in March? ▪ how many units of the Coil type should Target Company offer in March? ▪ what is Target Company expected profit for March?
  • 16. We have added min and max req. to the data and change the available recourses variables PIN LOCK COIL MIN REQ’D 10 10 10 MAX ALLOWED 40 40 40 Then Add two new constrains to ensure those. Equal min req. cells Equal decision variable cells
  • 17. Update your Solver config and solve with the new solution.
  • 18. Target Company cont. In April, The Creative Department of Target Company has figured out a way to add diversity to the Products, so that Target Company won't get bored doing the same thing over and over, while giving customers a sense of diversity in the offering. Based on this, the President of the company has decided to scrap both the mandatory minimum and maximum in the number of Prodcts offered during April. In other words, these two constraints won't apply any more. The new acts, however, require renting a special piece of equipment for each type. Because of this, there is now a fixed cost that Target Company has to pay if they decide to offer a given type of package in a month. These fixed costs are: $10K a month for the equipment that is rented if any Pin type are offered, $5K a month for the equipment that is rented if any Lock type are offered, and $1K a month for the equipment that is rented if any Coil type are offered.
  • 19. Target Company cont. PIN LOCK COIL FIXED COST $ 10 $ 5 $ 1 For the month of April, Target Company has 360 tone of steel and 500 hours of labor.. Solve this problem optimally so that Target Company ' profit for April is maximized, while respecting all the constraints.
  • 20. We have added Fixed cost to the data and change the available recourses variables PIN LOCK COIL FIXED COST $ 10 $ 5 $ 1 Adding fixed costs if a type is offered requires the addition of a binary variable. I recommend set up binary variable in the same shape of integer variable
  • 21. Binary variable is multiplied by the fixed cost of a particular type. Then added on to the objective function. It means If the type is used, then the binary constraint is one and the fixed cost is counted in the objective function. If the type is not used, then the binary constrain is zero and the fixed cost is not counted in the objective function Obj.Fun=Sumproduct of the (Profit, variables) – Sumproduct of the (Fixed cost,Binary)
  • 22. Binary variable needs to linking constrain to make sure that it properly represents fixed costs. Here I used 1000 as a big number to establish linking constrains Xp-1000*y1<=0 y=0 no Xp is used. y=1 Xp <=1000 and it’s already will.
  • 23. Update your Solver config and solve with the new solution. Define binary variables Add Linking Constrains (the same way that in previous parts) Do Not Forget Selecting Binary variable cells with integer variable as changing decision variables
  • 24.
  • 25. Target Company cont. he President of Target Company has decided that, to justify paying the fixed costs of renting the equipment, it makes sense to establish a required minimum number of units of each type. If this minimum is not offered, it is better - he decides - not to offer any Products of that type. For the month of May,, Target Company has 400 ton of steel and 460 hours of labor available. PIN LOCK COIL FIXED COST $ 10 $ 5 $ 1 MINIMUM IF OFFERED 100 50 10
  • 26. PIN LOCK COIL FIXED COST $ 10 $ 5 $ 1 MINIMUM IF OFFERED 100 50 10 Here we will keep fixed cost but also add Minimum if offered constrain. It means if particular type is produced then minimum amount must be as following. Min req. is conditioned by binary. So the equation will be : X>=min.req*y
  • 27. Now we have different consideration with different optimal solutions in order to help manager to decide the best operating condition
  • 28. THANK YOU!For Excel Spreadsheet