Math Optimisation
Math Optimisation
Mathematical Optimisation
•Mathematical optimization,
What is often simply referred to as
Mathematical optimization, is a branch of
mathematics and computer
Optimisation science that deals with finding
the best solution among a set
of feasible alternatives. The ^^^
goal is to identify the values of
variables that optimize
(maximize or minimize) a
Number
given objective function while
satisfying a set of constraints.
vvv
Optimisation
Problem
• Decision Variables: These are the variables that can be adjusted or varied to optimize the objective
function.
• Constraints: These are conditions or limitations that must be satisfied while optimizing the objective
function. Constraints could be limitations on resources, budget constraints, or any other relevant
restrictions.
• Feasible Region: The set of all possible combinations of decision variable values that satisfy the constraints.
• Optimal Solution: The set of values for the decision variables that provides the best (maximum or
minimum) value for the objective function within the feasible region.
Example-1
• Problem: A company manufactures two products, X and Y. The profit per unit for X is $5, and for Y
is $8. The company has constraints on the availability of resources: it can produce at most 100
units of X, 80 units of Y, and it has 200 hours of labor available. Formulate an optimization
problem to maximize the profit.
Example2: Cost Minimization for a Fence
• A farmer wants to build a rectangular fence to • Explanation:
enclose a grazing area for cattle. The farmer has • The objective is to maximize the area (A) of the
100 meters of fencing material. Find the
dimensions of the rectangular fence that would
rectangular fence.
maximize the enclosed area. • The constraint ensures that the total amount of
• Variables:
fencing material used (the perimeter of the
rectangle) does not exceed 100 meters.
• Let x be the length of the rectangle and y be the • Now, the farmer wants to find the values of x
width.
and y that satisfy the constraint and maximize
• Objective Function: the area.
• Maximize the area of the rectangle: A=x⋅y
• This is a simplified optimization problem where
the farmer is trying to use a fixed amount of
fencing material to enclose the largest possible
grazing area. It's a common type of problem
found in introductory optimization examples.
Applications
• Operations Research:
• Supply Chain Management: Optimizing the distribution of goods and
minimizing transportation costs.
• Production Scheduling: Determining the most efficient schedule for
manufacturing processes.
• Finance:
• Portfolio Optimization: Selecting the optimal mix of financial assets to
maximize returns or minimize risk.
• Option Pricing: Determining the best strategy for options trading.
Applications
• Engineering:
• Structural Design: Optimizing the design of structures for maximum strength with
minimum material usage.
• Network Design: Finding the most efficient layout for communication or transportation
networks.
• Telecommunications:
• Network Optimization: Optimizing the layout of communication networks for efficient
data transfer.
• Healthcare:
• Treatment Planning: Optimizing treatment plans in medical fields, such as radiation
therapy.
• Resource Allocation: Efficiently allocating healthcare resources, like hospital beds and
staff.
Applications
• Agriculture:
• Crop Planning: Optimizing the allocation of land and resources for different
crops.
• Harvest Scheduling: Determining the best time to harvest crops for maximum
yield.
• Machine Learning and Data Science:
• Hyperparameter Tuning: Optimizing the hyperparameters of machine learning
models for better performance.
• Feature Selection: Identifying the most relevant features in a dataset for
model optimization.
Trying to Optimise
There are three core components when
performing optimisation:
• Constraints
• Equality - hn(x)
• Inequality - gn(x)
Minimisation &
Maximisation
• Deterministic Models:
• Definition: Deterministic models are those where the outcome is completely determined by the
input parameters and initial conditions. There is no randomness or uncertainty involved in the
model.
• Characteristics:
• The model has fixed and known input parameters.
• The same set of inputs will always produce the same output.
• There is no consideration of variability or randomness.
• Examples:
• Solving systems of linear equations.
• Optimization problems with known and constant parameters.
• Classical physics equations describing motion under certain conditions.
Stochastic & Deterministic
• Stochastic Models:
Non-calculus
• Linear Programming
• Sawtooth Method
Calculus
• Newton’s Method
• Penalty Functions
• Lagrange Multipliers
Computational Optimisation
Techniques and Algorithms