Unit 4 Optimization-1
Unit 4 Optimization-1
Important questions:
1. What is the role of optimization in decision-making process?
2. Differentiate between optimization and maximization?
3. Explain linear optimization? Explain methods of optimization?
4. What are the goals and constraints of linear optimization?
5. How do you write a linear optimization model? / How to calculate linear optimization in order to
solve a business problem?
6. Explain as how to forecast using linear regression in excel?
Optimization
Optimization is the process of finding the best solution to a problem while using the least amount of resources
or effort. By analysing different possibilities, optimization helps in choosing the most effective way to achieve
a goal while reducing waste and unnecessary effort. The main objective of optimization is to maximize benefits
or minimize costs while maintaining quality and effectiveness. It ensures that available resources are used
wisely to get the best possible outcome.
Its value may be minimum or maximum, which depends upon the requirement. For example, if a firm is
required to find a way to earn a maximum profit on their products, then the condition will be maximum, and
if they want to find a way through which their firm gets minimum production cost, then the requirement will
be minimum.
Components of Optimization
1. Objective Function – The main goal to maximize or minimize, such as profit or cost. (z)
2. Decision Variables – The values to be determined, like the number of products to produce. (x & y)
1|Page
1. Better Resource Allocation
Optimization helps in distributing resources like manpower, raw materials, and finances efficiently. It
ensures minimal waste while achieving the best output. Businesses can maximize productivity and
reduce resource shortages.
Example: A factory optimizes its workforce schedule to reduce overtime costs while meeting production
targets.
2. Cost Reduction
By optimizing processes, companies can identify areas of excess spending and eliminate inefficiencies.
This helps in lowering operational costs while maintaining service or product quality.
Example: A company optimizes its supply chain to reduce transportation and storage costs.
3. Maximizing Profits
Businesses use optimization techniques to determine the most profitable pricing, marketing, or
production strategies. It helps in balancing costs and revenue to ensure higher earnings. Smart decision-
making leads to long-term financial growth.
Example: An e-commerce store adjusts product prices dynamically to maximize sales and profits.
5. Risk Management
Businesses face uncertainties, and optimization helps in predicting risks and minimizing their impact. By
analysing past data, companies can make informed and safer decisions. This reduces financial losses and
enhances stability.
Example: A bank optimizes loan approval processes to minimize bad debts.
6. Enhanced Productivity
Optimization helps employees complete their tasks efficiently by eliminating unnecessary steps. It
increases work output while reducing fatigue and errors. Higher productivity leads to better performance
and customer satisfaction.
Example: A hospital optimizes staff schedules to handle patient inflow efficiently.
2|Page
business.
Example: A call centre optimizes agent allocation to reduce waiting times for customers.
Goals of optimization
Maximization is the process of increasing a specific factor, such as profit, output, revenue, or efficiency, to its
highest possible level. The objective of maximization is to achieve the best possible result in a particular area,
often without much concern for constraints like cost or resource availability. Businesses, for example, aim to
maximize profits by increasing sales, reducing costs, or improving productivity. However, excessive
maximization without considering limitations can lead to inefficiencies or resource depletion.
2. It aims to achieve the most efficient and It aims to achieve the highest possible
Objective effective outcome while considering value of a specific objective, often
constraints. without considering constraints.
4. Considers limitations like budget, time, May ignore constraints to achieve the
Constraints
and resources. highest result.
6. Used in decision-making where trade-offs Used when the goal is to get the highest
Use Case
are necessary. possible value of a metric.
3|Page
Sno. Aspect Optimization Maximization
Methods of Optimization
1. Linear Programming (LP)
Linear programming is used to optimize resource allocation when constraints and objectives are linear. It
helps find the best combination of inputs to maximize or minimize an objective, such as cost or profit.
Example: A factory determines how many units of two products to produce to maximize profit while
staying within labour and material limits.
4. Dynamic Programming
This method breaks a large problem into smaller sub-problems and solves them sequentially. It is useful
when decisions at one stage affect future stages.
Example: A GPS navigation system calculates the shortest route by breaking it into smaller segments.
4|Page
6. Simulated Annealing
This is a probabilistic method used to find a near-optimal solution when searching a vast number of
possibilities. It mimics the process of metal cooling and crystallization to escape local optimal solutions.
Example: Engineers use simulated annealing to design efficient electronic circuits.
7. Gradient Descent
This method is used in machine learning and optimization problems to minimize errors by iteratively
adjusting variables in the direction of the steepest decrease in error.
Example: A neural network optimizes its weights to improve the accuracy of image recognition.
8. Heuristic Methods
Heuristic techniques provide quick, approximate solutions for complex problems where finding an exact
answer is impractical. These methods trade precision for speed and efficiency.
Example: Delivery companies use heuristic-based route optimization to quickly determine the best
delivery sequence.
Linear optimization
Linear optimization (or linear programming) is a mathematical method used to find the best possible
outcome, such as maximizing profit or minimizing cost, while satisfying given constraints. It involves an
objective function and a set of linear constraints that limit the possible solutions. Since everything in linear
optimization follows straight-line relationships, it is easier to calculate and solve problems efficiently.
For example, a company makes two products and wants to earn the most profit using limited labour hours.
Product A gives a $5 profit and needs 2 hours of work, while Product B gives a $8 profit and needs 3 hours
of work. The company has only 100 hours of labour per week. Linear optimization helps decide how many
of each product to make to get the highest profit without using more than 100 hours of labour.
5|Page
waste) an objective function. Businesses and industries use it to determine the best possible outcome
while considering various factors.
2. Subject to Constraints
The decision variables are subject to a set of linear constraints. These constraints can represent
limitations on resources, budget constraints, production capacities, and other real-world limitations.
Linear programming helps find the optimal solution within these constraints.
Linear optimization is often applied in situations where resources are limited, and there is a need to
allocate them efficiently. This could include resource allocation in production processes, distribution of
goods, workforce scheduling, and more. Linear optimization helps in distributing resources in the best
way to maximize output and minimize waste.
4. Sensitivity Analysis
This helps understand how changes in input values (like cost, demand, or availability) affect the optimal
solution. It allows businesses to plan for uncertainties and adjust strategies accordingly. This helps
decision-makers check how strong the solution is when facing uncertainties.
• Determine whether to maximize (e.g., profit, efficiency) or minimize (e.g., cost, waste).
3. Identify Constraints
• Ensure that decision variables do not take negative values (e.g., xi≥0).
o Excel Solver
It is used in business, manufacturing, logistics, finance, and more to make optimal decisions.
Linear Optimization (also called Linear Programming) is a method to find the best possible outcome (such as
maximizing profit or minimizing cost) under given constraints in a business problem.
A company produces two products: A and B. They want to maximize profit while being limited by labor hours and
material availability.
8|Page
So, the objective function (profit maximization) is:
Max Z=5x1+7x2
1. Labor Constraint
3x1+2x2≤100
2. Material Constraint
4x1+5x2≤150
3. Non-Negativity Constraint
x1≥0 x2≥0
This means the company should produce 20 units of A and 10 units of B to maximize profit while staying within
labor and material constraints.
Sales
Year
($)
2018 5000
2019 7000
2020 9000
2021 11000
2022 13000
excel
4. In the Trendline Options, select Linear and check Display Equation on Chart.
y=mx+ b
o b = Intercept
1. Enable Analysis ToolPak (File → Options → Add-ins → Manage Excel Add-ins → Check "Analysis
ToolPak").
• The R² value (from the trendline or regression analysis) tells how well the model fits the data (closer to 1 means
a better fit).
11 | P a g e