SlideShare a Scribd company logo
Elementary optimization
Special Topics in Industrial Chemistry
Seppo Karrila
November 2014
Executive summary
• What is optimization
– Important terms
• Tools you can easily use
– How to use within a spreadsheet
• Some examples of Linear Programs
– A raw material mix with requirements on
“concentrations”, so there are dilution effects
– Diet problem: satisfy minimum daily requirements
Industry view
• The purpose of research is to enable decisions
• We want to make “the best most profitable
decisions”
– Research must provide a prediction: what
happens when we decide this or that
– Alternative decisions must be compared, based on
numbers (calculated profit)
• Finding “the best” is called “optimization”
Optimization
• You are in control of some decision variables
• Your decisions affect an outcome that you can
calculate from a numerical model
• How do you get the best outcome?
– Maximize profit
– Minimize cost
– In general, optimize an objective function
• You get the optimum (maximum or minimum)
with an optimal decision
• Rules that your variables have to satisfy are
called constraints
Example: making a blend
• Raw materials have each their characteristics
• Blending them affects the characteristics as if
these were concentrations
mtot c = m1 c1 + m2 c2
mtot = m1 + m2
 c = (m1 c1 + m2 c2)/(m1 + m2)
A coffee blend
• Aroma and strength follow similar rules as
concentrations. Must have blend aroma >=78,
and strength >= 16 .
• Availability: Brazilian < = 1,500 lb
Colombian <= 1,200 lb, Peruvian <= 2,000 lb
• Make 4,000 lb of blend at lowest cost !
Why this is really important
• In industrial production, if you save 0.1 % in raw
material costs, you have earned your wages.
• You can apply this to making any raw material
mixtures
– Available raw materials are often already mixtures
• Purification adds costs. Why purify if you will mix again?
– Your blend must satisfy some “quality” requirements
– You want to minimize the cost
What is the aroma rating of the blend?
• Apply the “concentration rule”:
• What is required of this characteristic:
Manipulate this to get a simpler
inequality
• This is the quality criterion for aroma
• Similarly, you get the criterion for strength of the
blend:
Putting the model together
Minimize
• Quality criteria
• Required
production
• Availabilities
So it looks terrible?
• This type of systems are solved routinely
• Any spreadsheet program you use can solve
them
– The solution technique is reliable:
if there is a solution it is found,
if there is none then you will be told so
• This is an example of a “linear program”
You need to know how to handle this
• So we will go through the solution with a
program that you certainly can access:
– Google drive spreadsheet
• Otherwise, you can do exactly the same in
Excel
– You may have to activate Solver add-in, if you have
not used it before
In Google Drive, install an add-on
• Search for “solver”, add it to your spreadsheet
Open solver
• Press “Insert
Example” to see a
similar problem
The solution to our problem
• Note: ALL calculations done with “sumproduct” !
• Method: Simplex. (LP = Linear Programming.)
You can check aroma and strength of
the solution
• I left these out, they are not needed to solve
the problem
• Note that LP is reliable. You can try other
solution methods, they may give worse
“solutions.”
– Important to have “Assume Non-negative”
selected in “Options”, otherwise you get wrong
results also
A Reference
• K.A. Baker: Optimization Modeling with
Spreadsheets
– Explains several other problem types that can be
solved with Linear Programming
– Covers some further cases:
• Integer variables (numbers without decimals)
• Some non-linear programming
Another typical LP problem: the diet problem
• Make the lowest cost food mix that satisfies nutrition
requirements, namely “daily dose” of constituents
– You could have lots of details, about various vitamins and
minerals. Some are bad in overdose, you can have max limits!
– If you are feeding an army, a small change in cost will be a lot of
money. How about feeding 50 cows or 100 pigs?
This problem has “minimum
requirements” for total content in
blend
• Dilution by other components does not matter, we are not
concerned with concentrations
– The concentration problem in the coffee mix example is slightly more
difficult than this one. That is why we went it through in detail, so you
can do those problems in the future…
• You could also have maximum limits, for example for some
contaminant in a reaction mixture
• In real world research (experiments) are used to determine limits
– How much contamination can you tolerate in recycled plastic, by
another type of plastic? There is no ready-to-use model, you will have
to make it.
My personal view
• You must be able to “write in equations” and
solve small LP problems
– They come up all the time, at least if you know to look
for them
• Leave big or difficult problems to specialists
– Small: Excel handles up to 200 decision variables
– But to solve in Excel as LP, you have to write
everything in “sumproduct” formulas
– When this does not work, go see a specialist who has
experience with some actual optimization software
Work in classroom
• Write down the diet problem as equations
– What are the decision variables?
• Can they be negative?
– What is the objective, is it minimized or
maximized?
– What are the constraints, or quality
requirements?
• Solve this in Excel, or in Google spreadsheet!
Key points to know and remember
• To optimize something, you need
– ONE SINGLE numeric objective to minimize or maximize,
often cost or income, or profit
– The values you can choose (decide) are your decision
variables
– Requirements on quality, limits on availability are
constraints
• When all your computations are
sumproduct(decision_vars, constants)
– Then you have a Linear Program
– These are easy to solve reliably, even in spreadsheets
• Making blends often gives linear programs
– Chemical or food industries are all about making blends

More Related Content

What's hot

Pgbm03 MBA OPERATION MANAGEMENT session 05 design of product and service
Pgbm03 MBA OPERATION MANAGEMENT session 05 design of product and servicePgbm03 MBA OPERATION MANAGEMENT session 05 design of product and service
Pgbm03 MBA OPERATION MANAGEMENT session 05 design of product and service
Aquamarine Emerald
 
Value engineering seminar presentation
Value engineering seminar presentationValue engineering seminar presentation
Value engineering seminar presentation
amrutrajbk
 
Value analysis and Value Engineering in Cost Control
Value analysis and Value Engineering in Cost ControlValue analysis and Value Engineering in Cost Control
Value analysis and Value Engineering in Cost Control
sunilrajpawar
 
Jvh Lean Presentation For 2009
Jvh Lean Presentation For 2009Jvh Lean Presentation For 2009
Jvh Lean Presentation For 2009
guest88801083
 
Value engineering
Value engineeringValue engineering
Value engineering
Sumit VijayKumar D
 
How to Calculate the Financial Impact of OEE
How to Calculate the Financial Impact of OEEHow to Calculate the Financial Impact of OEE
How to Calculate the Financial Impact of OEE
SafetyChain Software
 
PlanPlus (Trimplus)
PlanPlus (Trimplus)PlanPlus (Trimplus)
PlanPlus (Trimplus)
akroninformatique
 
Line Crew Optimisation Methodology
Line Crew Optimisation MethodologyLine Crew Optimisation Methodology
Line Crew Optimisation Methodology
LineView Academy (was OFX Academy)
 
Measuring the Real Cost of Quality: Methods, Models & Tips
Measuring the Real Cost of Quality: Methods, Models & TipsMeasuring the Real Cost of Quality: Methods, Models & Tips
Measuring the Real Cost of Quality: Methods, Models & Tips
SafetyChain Software
 
Moving The OEE Needle -Tips for Surpassing 85%
Moving The OEE Needle -Tips for Surpassing 85% Moving The OEE Needle -Tips for Surpassing 85%
Moving The OEE Needle -Tips for Surpassing 85%
SafetyChain Software
 
Value Engineering
Value EngineeringValue Engineering
Value Engineering
Bruce Sauter
 
Value engineering _2_
Value engineering _2_Value engineering _2_
Value engineering _2_
Swetlina .
 
OEE Interphex New York 2013
OEE Interphex New York 2013OEE Interphex New York 2013
OEE Interphex New York 2013
Adrian Pask
 
Actionable information 3
Actionable information 3Actionable information 3
Actionable information 3
LineView Academy (was OFX Academy)
 
Value Engineering for Roads & Highways Project
Value Engineering for Roads & Highways ProjectValue Engineering for Roads & Highways Project
Value Engineering for Roads & Highways Project
ajmal4
 
Actionable information 2
Actionable information 2Actionable information 2
Actionable information 2
LineView Academy (was OFX Academy)
 
TPM: Focused Improvement (Kobetsu Kaizen) Poster
TPM: Focused Improvement (Kobetsu Kaizen) PosterTPM: Focused Improvement (Kobetsu Kaizen) Poster
TPM: Focused Improvement (Kobetsu Kaizen) Poster
Operational Excellence Consulting
 
Value Engineering Introduction - K K B
Value Engineering Introduction - K K BValue Engineering Introduction - K K B
Value Engineering Introduction - K K B
Kumar Bhatt
 
VALUE ENGINEERING ANALYSIS PPT
VALUE ENGINEERING ANALYSIS PPTVALUE ENGINEERING ANALYSIS PPT
VALUE ENGINEERING ANALYSIS PPT
Abhay Sharma
 
122 value engineering
122 value engineering122 value engineering
122 value engineering
Dr Fereidoun Dejahang
 

What's hot (20)

Pgbm03 MBA OPERATION MANAGEMENT session 05 design of product and service
Pgbm03 MBA OPERATION MANAGEMENT session 05 design of product and servicePgbm03 MBA OPERATION MANAGEMENT session 05 design of product and service
Pgbm03 MBA OPERATION MANAGEMENT session 05 design of product and service
 
Value engineering seminar presentation
Value engineering seminar presentationValue engineering seminar presentation
Value engineering seminar presentation
 
Value analysis and Value Engineering in Cost Control
Value analysis and Value Engineering in Cost ControlValue analysis and Value Engineering in Cost Control
Value analysis and Value Engineering in Cost Control
 
Jvh Lean Presentation For 2009
Jvh Lean Presentation For 2009Jvh Lean Presentation For 2009
Jvh Lean Presentation For 2009
 
Value engineering
Value engineeringValue engineering
Value engineering
 
How to Calculate the Financial Impact of OEE
How to Calculate the Financial Impact of OEEHow to Calculate the Financial Impact of OEE
How to Calculate the Financial Impact of OEE
 
PlanPlus (Trimplus)
PlanPlus (Trimplus)PlanPlus (Trimplus)
PlanPlus (Trimplus)
 
Line Crew Optimisation Methodology
Line Crew Optimisation MethodologyLine Crew Optimisation Methodology
Line Crew Optimisation Methodology
 
Measuring the Real Cost of Quality: Methods, Models & Tips
Measuring the Real Cost of Quality: Methods, Models & TipsMeasuring the Real Cost of Quality: Methods, Models & Tips
Measuring the Real Cost of Quality: Methods, Models & Tips
 
Moving The OEE Needle -Tips for Surpassing 85%
Moving The OEE Needle -Tips for Surpassing 85% Moving The OEE Needle -Tips for Surpassing 85%
Moving The OEE Needle -Tips for Surpassing 85%
 
Value Engineering
Value EngineeringValue Engineering
Value Engineering
 
Value engineering _2_
Value engineering _2_Value engineering _2_
Value engineering _2_
 
OEE Interphex New York 2013
OEE Interphex New York 2013OEE Interphex New York 2013
OEE Interphex New York 2013
 
Actionable information 3
Actionable information 3Actionable information 3
Actionable information 3
 
Value Engineering for Roads & Highways Project
Value Engineering for Roads & Highways ProjectValue Engineering for Roads & Highways Project
Value Engineering for Roads & Highways Project
 
Actionable information 2
Actionable information 2Actionable information 2
Actionable information 2
 
TPM: Focused Improvement (Kobetsu Kaizen) Poster
TPM: Focused Improvement (Kobetsu Kaizen) PosterTPM: Focused Improvement (Kobetsu Kaizen) Poster
TPM: Focused Improvement (Kobetsu Kaizen) Poster
 
Value Engineering Introduction - K K B
Value Engineering Introduction - K K BValue Engineering Introduction - K K B
Value Engineering Introduction - K K B
 
VALUE ENGINEERING ANALYSIS PPT
VALUE ENGINEERING ANALYSIS PPTVALUE ENGINEERING ANALYSIS PPT
VALUE ENGINEERING ANALYSIS PPT
 
122 value engineering
122 value engineering122 value engineering
122 value engineering
 

Viewers also liked

Post Nega
Post NegaPost Nega
MaríA Magdalena L1º B Reli
MaríA Magdalena   L1º B    ReliMaríA Magdalena   L1º B    Reli
MaríA Magdalena L1º B Reli
guest783cb61d
 
Gap analyses
Gap analysesGap analyses
Gap analyses
67766776
 
60 segundosenplayasdeltayrona
60 segundosenplayasdeltayrona60 segundosenplayasdeltayrona
60 segundosenplayasdeltayrona
caryg37
 
Programa carne angus certificada
Programa carne angus certificadaPrograma carne angus certificada
Programa carne angus certificada
AgroTalento
 
The condition of and prospects for the private equity funds market in Poland
The condition of and prospects for the private equity funds market in PolandThe condition of and prospects for the private equity funds market in Poland
The condition of and prospects for the private equity funds market in Poland
CASE Center for Social and Economic Research
 
Cavity Full paper, 14th Annual CFD Symposium
Cavity Full paper, 14th Annual CFD SymposiumCavity Full paper, 14th Annual CFD Symposium
Cavity Full paper, 14th Annual CFD Symposium
vasuaero1988
 
Plano semanal 9
Plano semanal 9Plano semanal 9
Plano semanal 9wil
 
Interaction between monetary policy and bank regulation: lessons for the ECB
Interaction between monetary policy and bank regulation: lessons for the ECBInteraction between monetary policy and bank regulation: lessons for the ECB
Interaction between monetary policy and bank regulation: lessons for the ECB
CASE Center for Social and Economic Research
 
1º Encontro de Escritores Matosinhenses
1º Encontro de Escritores Matosinhenses1º Encontro de Escritores Matosinhenses
1º Encontro de Escritores Matosinhenses
Elvira Rodrigues
 
Návrh ontologie pro přehrávač hudby
Návrh ontologie pro přehrávač hudbyNávrh ontologie pro přehrávač hudby
Návrh ontologie pro přehrávač hudby
matesd
 
Irrigação de pastagem: atualidade e recomendações para uso e manejo
Irrigação de pastagem: atualidade e recomendações para uso e manejoIrrigação de pastagem: atualidade e recomendações para uso e manejo
Irrigação de pastagem: atualidade e recomendações para uso e manejo
Killer Max
 
Economic policy and macroeconomic developments in Hungary, 2010-2015
Economic policy and macroeconomic developments in Hungary, 2010-2015Economic policy and macroeconomic developments in Hungary, 2010-2015
Economic policy and macroeconomic developments in Hungary, 2010-2015
CASE Center for Social and Economic Research
 
Onem instructivo n° 1
Onem instructivo n° 1Onem instructivo n° 1
Onem instructivo n° 1
ELVIN VEGA ESPINOZA
 
Preformed Optimum design
Preformed Optimum designPreformed Optimum design
Preformed Optimum design
Fendy Fahrizal
 
Codigo del vestir ejecutivo mujer-hombre
Codigo del vestir ejecutivo mujer-hombreCodigo del vestir ejecutivo mujer-hombre
Codigo del vestir ejecutivo mujer-hombre
Lia de Falquez
 
Oficio ii taller prevaed
Oficio ii taller prevaedOficio ii taller prevaed
Oficio ii taller prevaed
ELVIN VEGA ESPINOZA
 
Plazas para reasignacion de auxiliares de educacion 1
Plazas para reasignacion de auxiliares de educacion 1Plazas para reasignacion de auxiliares de educacion 1
Plazas para reasignacion de auxiliares de educacion 1
ELVIN VEGA ESPINOZA
 
Cas n° 013 2016-ugel 01 ep
Cas n° 013 2016-ugel 01 epCas n° 013 2016-ugel 01 ep
Cas n° 013 2016-ugel 01 ep
ELVIN VEGA ESPINOZA
 
Cas 018 2016-ugel 01 ep
Cas 018 2016-ugel 01 epCas 018 2016-ugel 01 ep
Cas 018 2016-ugel 01 ep
ELVIN VEGA ESPINOZA
 

Viewers also liked (20)

Post Nega
Post NegaPost Nega
Post Nega
 
MaríA Magdalena L1º B Reli
MaríA Magdalena   L1º B    ReliMaríA Magdalena   L1º B    Reli
MaríA Magdalena L1º B Reli
 
Gap analyses
Gap analysesGap analyses
Gap analyses
 
60 segundosenplayasdeltayrona
60 segundosenplayasdeltayrona60 segundosenplayasdeltayrona
60 segundosenplayasdeltayrona
 
Programa carne angus certificada
Programa carne angus certificadaPrograma carne angus certificada
Programa carne angus certificada
 
The condition of and prospects for the private equity funds market in Poland
The condition of and prospects for the private equity funds market in PolandThe condition of and prospects for the private equity funds market in Poland
The condition of and prospects for the private equity funds market in Poland
 
Cavity Full paper, 14th Annual CFD Symposium
Cavity Full paper, 14th Annual CFD SymposiumCavity Full paper, 14th Annual CFD Symposium
Cavity Full paper, 14th Annual CFD Symposium
 
Plano semanal 9
Plano semanal 9Plano semanal 9
Plano semanal 9
 
Interaction between monetary policy and bank regulation: lessons for the ECB
Interaction between monetary policy and bank regulation: lessons for the ECBInteraction between monetary policy and bank regulation: lessons for the ECB
Interaction between monetary policy and bank regulation: lessons for the ECB
 
1º Encontro de Escritores Matosinhenses
1º Encontro de Escritores Matosinhenses1º Encontro de Escritores Matosinhenses
1º Encontro de Escritores Matosinhenses
 
Návrh ontologie pro přehrávač hudby
Návrh ontologie pro přehrávač hudbyNávrh ontologie pro přehrávač hudby
Návrh ontologie pro přehrávač hudby
 
Irrigação de pastagem: atualidade e recomendações para uso e manejo
Irrigação de pastagem: atualidade e recomendações para uso e manejoIrrigação de pastagem: atualidade e recomendações para uso e manejo
Irrigação de pastagem: atualidade e recomendações para uso e manejo
 
Economic policy and macroeconomic developments in Hungary, 2010-2015
Economic policy and macroeconomic developments in Hungary, 2010-2015Economic policy and macroeconomic developments in Hungary, 2010-2015
Economic policy and macroeconomic developments in Hungary, 2010-2015
 
Onem instructivo n° 1
Onem instructivo n° 1Onem instructivo n° 1
Onem instructivo n° 1
 
Preformed Optimum design
Preformed Optimum designPreformed Optimum design
Preformed Optimum design
 
Codigo del vestir ejecutivo mujer-hombre
Codigo del vestir ejecutivo mujer-hombreCodigo del vestir ejecutivo mujer-hombre
Codigo del vestir ejecutivo mujer-hombre
 
Oficio ii taller prevaed
Oficio ii taller prevaedOficio ii taller prevaed
Oficio ii taller prevaed
 
Plazas para reasignacion de auxiliares de educacion 1
Plazas para reasignacion de auxiliares de educacion 1Plazas para reasignacion de auxiliares de educacion 1
Plazas para reasignacion de auxiliares de educacion 1
 
Cas n° 013 2016-ugel 01 ep
Cas n° 013 2016-ugel 01 epCas n° 013 2016-ugel 01 ep
Cas n° 013 2016-ugel 01 ep
 
Cas 018 2016-ugel 01 ep
Cas 018 2016-ugel 01 epCas 018 2016-ugel 01 ep
Cas 018 2016-ugel 01 ep
 

Similar to Lecture3 elementary optimization

Fixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving MethodsFixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving Methods
SafetyChain Software
 
200129 advise team training day 2
200129 advise team training   day 2200129 advise team training   day 2
200129 advise team training day 2
ChrisGamuyao1
 
The art of problem solving --> ensure you right the right business requiremen...
The art of problem solving --> ensure you right the right business requiremen...The art of problem solving --> ensure you right the right business requiremen...
The art of problem solving --> ensure you right the right business requiremen...
Chris Lamoureux
 
Are your analytic tools really adding value?
Are your analytic tools really adding value?Are your analytic tools really adding value?
Are your analytic tools really adding value?
Debby Sieradzki
 
Quantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision makingQuantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision making
Melvs Garcia
 
Chapter 5 successful problem solving & task mgt
Chapter 5   successful problem solving & task mgtChapter 5   successful problem solving & task mgt
Chapter 5 successful problem solving & task mgt
Nasz Zainuddin
 
Unit ii-1-lp
Unit ii-1-lpUnit ii-1-lp
Unit ii-1-lp
Anurag Srivastava
 
Decision analysis
Decision analysisDecision analysis
Decision analysis
Dr.ammara khakwani
 
Product Management Guide - A Work In Progress
Product Management Guide - A Work In ProgressProduct Management Guide - A Work In Progress
Product Management Guide - A Work In Progress
Hussam Shams
 
Six Sigma - DMAIC Fundamentals
Six Sigma - DMAIC FundamentalsSix Sigma - DMAIC Fundamentals
Six Sigma - DMAIC Fundamentals
David Nichols
 
Agile Metrics...That Matter
Agile Metrics...That MatterAgile Metrics...That Matter
Agile Metrics...That Matter
Erik Weber
 
Mindmaps and heuristics tester's best friends - lalit bhamare
Mindmaps and heuristics  tester's best friends - lalit bhamareMindmaps and heuristics  tester's best friends - lalit bhamare
Mindmaps and heuristics tester's best friends - lalit bhamare
Lalit Bhamare
 
LPP application and problem formulation
LPP application and problem formulationLPP application and problem formulation
LPP application and problem formulation
Karishma Chaudhary
 
Problem Solving Techniques - LEAN
Problem Solving Techniques - LEANProblem Solving Techniques - LEAN
Problem Solving Techniques - LEAN
Swamy Gelli V S Ch
 
H2O World - Top 10 Data Science Pitfalls - Mark Landry
H2O World - Top 10 Data Science Pitfalls - Mark LandryH2O World - Top 10 Data Science Pitfalls - Mark Landry
H2O World - Top 10 Data Science Pitfalls - Mark Landry
Sri Ambati
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 MSL 5080, Methods of Analysis for Business Operations 1 .docx MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docx
gertrudebellgrove
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxMSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docx
poulterbarbara
 
Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...
Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...
Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...
Lviv Startup Club
 
Top 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner PitfallsTop 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner Pitfalls
Sri Ambati
 
Kaizen
KaizenKaizen
Kaizen
Nikhil Goyal
 

Similar to Lecture3 elementary optimization (20)

Fixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving MethodsFixing the Problems in Your Operations Problem-Solving Methods
Fixing the Problems in Your Operations Problem-Solving Methods
 
200129 advise team training day 2
200129 advise team training   day 2200129 advise team training   day 2
200129 advise team training day 2
 
The art of problem solving --> ensure you right the right business requiremen...
The art of problem solving --> ensure you right the right business requiremen...The art of problem solving --> ensure you right the right business requiremen...
The art of problem solving --> ensure you right the right business requiremen...
 
Are your analytic tools really adding value?
Are your analytic tools really adding value?Are your analytic tools really adding value?
Are your analytic tools really adding value?
 
Quantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision makingQuantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision making
 
Chapter 5 successful problem solving & task mgt
Chapter 5   successful problem solving & task mgtChapter 5   successful problem solving & task mgt
Chapter 5 successful problem solving & task mgt
 
Unit ii-1-lp
Unit ii-1-lpUnit ii-1-lp
Unit ii-1-lp
 
Decision analysis
Decision analysisDecision analysis
Decision analysis
 
Product Management Guide - A Work In Progress
Product Management Guide - A Work In ProgressProduct Management Guide - A Work In Progress
Product Management Guide - A Work In Progress
 
Six Sigma - DMAIC Fundamentals
Six Sigma - DMAIC FundamentalsSix Sigma - DMAIC Fundamentals
Six Sigma - DMAIC Fundamentals
 
Agile Metrics...That Matter
Agile Metrics...That MatterAgile Metrics...That Matter
Agile Metrics...That Matter
 
Mindmaps and heuristics tester's best friends - lalit bhamare
Mindmaps and heuristics  tester's best friends - lalit bhamareMindmaps and heuristics  tester's best friends - lalit bhamare
Mindmaps and heuristics tester's best friends - lalit bhamare
 
LPP application and problem formulation
LPP application and problem formulationLPP application and problem formulation
LPP application and problem formulation
 
Problem Solving Techniques - LEAN
Problem Solving Techniques - LEANProblem Solving Techniques - LEAN
Problem Solving Techniques - LEAN
 
H2O World - Top 10 Data Science Pitfalls - Mark Landry
H2O World - Top 10 Data Science Pitfalls - Mark LandryH2O World - Top 10 Data Science Pitfalls - Mark Landry
H2O World - Top 10 Data Science Pitfalls - Mark Landry
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 MSL 5080, Methods of Analysis for Business Operations 1 .docx MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 
MSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docxMSL 5080, Methods of Analysis for Business Operations 1 .docx
MSL 5080, Methods of Analysis for Business Operations 1 .docx
 
Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...
Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...
Bogdan Onyshchenko: Як стати кращим Продакт Менеджером? 11 порад з особистого...
 
Top 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner PitfallsTop 10 Data Science Practitioner Pitfalls
Top 10 Data Science Practitioner Pitfalls
 
Kaizen
KaizenKaizen
Kaizen
 

More from Seppo Karrila

L9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualizationL9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualization
Seppo Karrila
 
L8 scientific visualization of data
L8 scientific visualization of dataL8 scientific visualization of data
L8 scientific visualization of data
Seppo Karrila
 
L7 method validation and modeling
L7 method validation and modelingL7 method validation and modeling
L7 method validation and modeling
Seppo Karrila
 
L5 format and substance of thesis
L5 format and substance of thesisL5 format and substance of thesis
L5 format and substance of thesis
Seppo Karrila
 
L4 research proposal
L4 research proposalL4 research proposal
L4 research proposal
Seppo Karrila
 
L3 hypothesis or research question
L3 hypothesis or research questionL3 hypothesis or research question
L3 hypothesis or research question
Seppo Karrila
 
How to run a meeting
How to run a meetingHow to run a meeting
How to run a meeting
Seppo Karrila
 
On practical philosophy of research in science and technology
On practical philosophy of research in science and technologyOn practical philosophy of research in science and technology
On practical philosophy of research in science and technology
Seppo Karrila
 
Scale-up and scale-down of chemical processes
Scale-up and scale-down of chemical processesScale-up and scale-down of chemical processes
Scale-up and scale-down of chemical processes
Seppo Karrila
 
About your graduate studies part 2
About your graduate studies part 2About your graduate studies part 2
About your graduate studies part 2
Seppo Karrila
 
About your graduate studies part 1
About your graduate studies part 1About your graduate studies part 1
About your graduate studies part 1
Seppo Karrila
 
Selecting experimental variables for response surface modeling
Selecting experimental variables for response surface modelingSelecting experimental variables for response surface modeling
Selecting experimental variables for response surface modeling
Seppo Karrila
 
How to review a journal paper and prepare oral presentation
How to review a journal paper and prepare oral presentationHow to review a journal paper and prepare oral presentation
How to review a journal paper and prepare oral presentation
Seppo Karrila
 

More from Seppo Karrila (13)

L9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualizationL9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualization
 
L8 scientific visualization of data
L8 scientific visualization of dataL8 scientific visualization of data
L8 scientific visualization of data
 
L7 method validation and modeling
L7 method validation and modelingL7 method validation and modeling
L7 method validation and modeling
 
L5 format and substance of thesis
L5 format and substance of thesisL5 format and substance of thesis
L5 format and substance of thesis
 
L4 research proposal
L4 research proposalL4 research proposal
L4 research proposal
 
L3 hypothesis or research question
L3 hypothesis or research questionL3 hypothesis or research question
L3 hypothesis or research question
 
How to run a meeting
How to run a meetingHow to run a meeting
How to run a meeting
 
On practical philosophy of research in science and technology
On practical philosophy of research in science and technologyOn practical philosophy of research in science and technology
On practical philosophy of research in science and technology
 
Scale-up and scale-down of chemical processes
Scale-up and scale-down of chemical processesScale-up and scale-down of chemical processes
Scale-up and scale-down of chemical processes
 
About your graduate studies part 2
About your graduate studies part 2About your graduate studies part 2
About your graduate studies part 2
 
About your graduate studies part 1
About your graduate studies part 1About your graduate studies part 1
About your graduate studies part 1
 
Selecting experimental variables for response surface modeling
Selecting experimental variables for response surface modelingSelecting experimental variables for response surface modeling
Selecting experimental variables for response surface modeling
 
How to review a journal paper and prepare oral presentation
How to review a journal paper and prepare oral presentationHow to review a journal paper and prepare oral presentation
How to review a journal paper and prepare oral presentation
 

Recently uploaded

Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 

Recently uploaded (20)

Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 

Lecture3 elementary optimization

  • 1. Elementary optimization Special Topics in Industrial Chemistry Seppo Karrila November 2014
  • 2. Executive summary • What is optimization – Important terms • Tools you can easily use – How to use within a spreadsheet • Some examples of Linear Programs – A raw material mix with requirements on “concentrations”, so there are dilution effects – Diet problem: satisfy minimum daily requirements
  • 3. Industry view • The purpose of research is to enable decisions • We want to make “the best most profitable decisions” – Research must provide a prediction: what happens when we decide this or that – Alternative decisions must be compared, based on numbers (calculated profit) • Finding “the best” is called “optimization”
  • 4. Optimization • You are in control of some decision variables • Your decisions affect an outcome that you can calculate from a numerical model • How do you get the best outcome? – Maximize profit – Minimize cost – In general, optimize an objective function • You get the optimum (maximum or minimum) with an optimal decision • Rules that your variables have to satisfy are called constraints
  • 5. Example: making a blend • Raw materials have each their characteristics • Blending them affects the characteristics as if these were concentrations mtot c = m1 c1 + m2 c2 mtot = m1 + m2  c = (m1 c1 + m2 c2)/(m1 + m2)
  • 6. A coffee blend • Aroma and strength follow similar rules as concentrations. Must have blend aroma >=78, and strength >= 16 . • Availability: Brazilian < = 1,500 lb Colombian <= 1,200 lb, Peruvian <= 2,000 lb • Make 4,000 lb of blend at lowest cost !
  • 7. Why this is really important • In industrial production, if you save 0.1 % in raw material costs, you have earned your wages. • You can apply this to making any raw material mixtures – Available raw materials are often already mixtures • Purification adds costs. Why purify if you will mix again? – Your blend must satisfy some “quality” requirements – You want to minimize the cost
  • 8. What is the aroma rating of the blend? • Apply the “concentration rule”: • What is required of this characteristic:
  • 9. Manipulate this to get a simpler inequality • This is the quality criterion for aroma • Similarly, you get the criterion for strength of the blend:
  • 10. Putting the model together Minimize • Quality criteria • Required production • Availabilities
  • 11. So it looks terrible? • This type of systems are solved routinely • Any spreadsheet program you use can solve them – The solution technique is reliable: if there is a solution it is found, if there is none then you will be told so • This is an example of a “linear program”
  • 12. You need to know how to handle this • So we will go through the solution with a program that you certainly can access: – Google drive spreadsheet • Otherwise, you can do exactly the same in Excel – You may have to activate Solver add-in, if you have not used it before
  • 13. In Google Drive, install an add-on • Search for “solver”, add it to your spreadsheet
  • 14. Open solver • Press “Insert Example” to see a similar problem
  • 15. The solution to our problem • Note: ALL calculations done with “sumproduct” ! • Method: Simplex. (LP = Linear Programming.)
  • 16. You can check aroma and strength of the solution • I left these out, they are not needed to solve the problem • Note that LP is reliable. You can try other solution methods, they may give worse “solutions.” – Important to have “Assume Non-negative” selected in “Options”, otherwise you get wrong results also
  • 17. A Reference • K.A. Baker: Optimization Modeling with Spreadsheets – Explains several other problem types that can be solved with Linear Programming – Covers some further cases: • Integer variables (numbers without decimals) • Some non-linear programming
  • 18. Another typical LP problem: the diet problem • Make the lowest cost food mix that satisfies nutrition requirements, namely “daily dose” of constituents – You could have lots of details, about various vitamins and minerals. Some are bad in overdose, you can have max limits! – If you are feeding an army, a small change in cost will be a lot of money. How about feeding 50 cows or 100 pigs?
  • 19. This problem has “minimum requirements” for total content in blend • Dilution by other components does not matter, we are not concerned with concentrations – The concentration problem in the coffee mix example is slightly more difficult than this one. That is why we went it through in detail, so you can do those problems in the future… • You could also have maximum limits, for example for some contaminant in a reaction mixture • In real world research (experiments) are used to determine limits – How much contamination can you tolerate in recycled plastic, by another type of plastic? There is no ready-to-use model, you will have to make it.
  • 20. My personal view • You must be able to “write in equations” and solve small LP problems – They come up all the time, at least if you know to look for them • Leave big or difficult problems to specialists – Small: Excel handles up to 200 decision variables – But to solve in Excel as LP, you have to write everything in “sumproduct” formulas – When this does not work, go see a specialist who has experience with some actual optimization software
  • 21. Work in classroom • Write down the diet problem as equations – What are the decision variables? • Can they be negative? – What is the objective, is it minimized or maximized? – What are the constraints, or quality requirements? • Solve this in Excel, or in Google spreadsheet!
  • 22. Key points to know and remember • To optimize something, you need – ONE SINGLE numeric objective to minimize or maximize, often cost or income, or profit – The values you can choose (decide) are your decision variables – Requirements on quality, limits on availability are constraints • When all your computations are sumproduct(decision_vars, constants) – Then you have a Linear Program – These are easy to solve reliably, even in spreadsheets • Making blends often gives linear programs – Chemical or food industries are all about making blends