SlideShare a Scribd company logo
1 of 4
Download to read offline
Application to linear programming
Linear programming is used for arithmetical calculations such as maximizing and minimizing
of a certain quantity under some various constraints. Most of the problems in day-to-day life
we have to consider maximizing and minimizing. But rather than simple analytical problems
there will be some other advance problems, that have to consider many number of constraints
simultaneously. Such problems, linear programming can be used as a guiding tool.
Problems that can contains any number of variables and also many number of constraints. If
these constraints are interrelated with linearly, can be applied linear algebraic concepts. In the
world of science and also industrial related problems can be solved or can get optimal
solution with the help of this technique.
As an approach we can get two variable geometric problem. In generally we can get any two
variables that are subjected to series of constraints. As an instance, let’s get 𝑧 = π‘Žπ‘₯ + 𝑏𝑦,
where a and b are constants. We have given that maximize or minimize z, that subjected to
following constraints.
π‘Ž1 π‘₯ + 𝑏1 𝑦 (≀)(β‰₯)(=) 𝑐1
π‘Ž2 π‘₯ + 𝑏2 𝑦 (≀)(β‰₯)(=) 𝑐2
π‘Ž3 π‘₯ + 𝑏3 𝑦 (≀)(β‰₯)(=) 𝑐3
π‘Ž 𝑛 π‘₯ + 𝑏 𝑛 𝑦 (≀)(β‰₯)(=) 𝑐 𝑛
and also, π‘₯ β‰₯ 0, 𝑦 β‰₯ 0. Here that equations that show above could have only one symbol
among them. These problem-solving method is going similarly with the genetic algorithm
problems. In genetic algorithms, basically the logic is implemented using randomly generated
values and then check the constraints. Then get the values of z. And also after calculations,
use penalty values and optimize the penalty values.
Here the main function, that is the equation or constraint containing, z is the objective
function. We are trying to get optimal solution for z as our final goal. The values that satisfy
all constraints are called as feasible solutions, and also the region that feasible values are
spread out is called as feasible region. If the problem has many number of constraints, we
cannot put each and every value and check the satisfaction. So that when we can find a
region that contains satisfactory values, will cause to reduce the calculation effort.
Here we are going to focus on linearly related variables, but when we have problems such as
nonlinear related, have to look another solving methods. As an example, genetic algorithm is
a one programming concept that can use to develop nonlinear programming and get
optimized solution. Another method is neural networks. These are quite high-end
programming concepts, that are more developed than linear programming. Because of the
advance, these concepts can be used to implement the artificial intelligence problem solving
logics also.
Let’s focus on linear programming. π‘Ž1 π‘₯ + 𝑏1 𝑦 = 𝑐1is an equation of a straight line that
contain in xy plane. π‘Ž1 π‘₯ + 𝑏1 𝑦 ≀ 𝑐1 π‘œπ‘Ÿ π‘Ž1 π‘₯ + 𝑏1 𝑦 β‰₯ 𝑐1 are represent half side of the plane.
If there is a constraint that contains inequality symbol, that means that region is contained
many lines. With regarding many constraints, we can get bounded region, that means the
region is enclosed with sufficient constraints. Another type is unbounded region. That implies
that the region is cannot be exactly determined. There can be feasible regions that has no
constraints points, means empty feasible region. Also, extreme points are the points that are
boundary points intersection of the straight-line sections.
There are some theorems that will guided us to the successful answers that are satisfy all
constraint points. These theorems said that,
β€œIf the feasible region of a linear programming problem is nonempty and bounded, then the
objective function attains both a maximum and minimum value and these occur at extreme
points of the feasible region. If the feasible region is unbounded, then the objective function
may or may not attain a maximum or minimum value; however, if it attains a maximum or
minimum value, it does so at an extreme point.”
we can get an example and try to solve.
A candy manufacturer has 130 pounds of chocolate-covered cherries and 170 pounds of
chocolate-covered mints in stock. He decides to sell them in the form of two different
mixtures. One mixture will contain half cherries and half mints by weight and will sell for
$2.00 per pound. The other mixture will contain one-third cherries and two-thirds mints by
weight and will sell for $1.25 per pound. How many pounds of each mixture should the
candy manufacturer prepare in order to maximize his sales revenue?
Let’s get approach to this question. For the simplicity we can call A the mixture of half
cherries and half mints, and B the mixture which is 1/3 cherries and 2/3 mints. X be the
number of pounds of A to be prepared and y the number of pounds of B to be prepared. With
that we can build our objective function.
𝑧 = 2π‘₯ + 1.25𝑦
The total number of pounds of cherries in both mixture is
1
2
π‘₯ +
1
3
𝑦
The total number of pounds of mints used in both mixtures is
1
2
π‘₯ +
2
3
𝑦
Using that data, we can derive constraints as shown in bellow,
1
2
π‘₯ +
1
3
𝑦 ≀ 130
1
2
π‘₯ +
2
3
𝑦 ≀ 170
Using given data
π‘₯ β‰₯ 0
𝑦 β‰₯ 0
To solve the question, we can use linear programming technique as mentioned above. After
that we have to define feasible region. That have to define feasible region first.
Here we can see that the feasible region is bounded. The optimal solution can be found at the
extreme points as shown in the graph. So that to evaluating the objective function, we can get
the values as follows.
As shown in the table, we can see, largest value for z is 520.0 and the optimal solution is
(260,0). So that manufacture can get maximum sae of $520 when he produces 260 pounds of
mixture A and none of mixture B.
This example is taken out from the website, the link is mentioned in the reference region.
That is a simple problem that can be solved using linear programming. We can say the
equations can be solved easily without aid of any computer programme. But we have to
remember, these methods can be implemented to higher accuracy needed and more number
of constrained problems, that we cannot even think about the feasible region. And also, the
problem is get more complex when the feasible region is un-bounded.
Algorithm making and computer coding methods are varying from people to people, because
all of them looking for the problem in different angles. And also deriving equations will be
different. So that we have to improve our own method to solve these types of equations.
References
Application to linear programming. (n.d.). Retrieved from Applications of linear algebra:
http://aix1.uottawa.ca/~jkhoury/app.htm
ANTON, H. and C. RORRES. Elementary Linear Algebra: Applications Version, 8th ed. New York: John
Wiley & Sons, Inc., 2000.

More Related Content

What's hot

Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of MatricesAmenahGondal1
Β 
Fuzzy logicintro by
Fuzzy logicintro by Fuzzy logicintro by
Fuzzy logicintro by Waseem Abbas
Β 
Implementation of Digital Filters
Implementation of Digital FiltersImplementation of Digital Filters
Implementation of Digital Filtersop205
Β 
Fuzzy logic in approximate Reasoning
Fuzzy logic in approximate ReasoningFuzzy logic in approximate Reasoning
Fuzzy logic in approximate ReasoningHoàng Đức
Β 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real WorldBCSLeicester
Β 
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...Ceni Babaoglu, PhD
Β 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptxMhhh7
Β 
Infinite sequence and series
Infinite sequence and seriesInfinite sequence and series
Infinite sequence and seriesBhavik A Shah
Β 
Direct Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations SystemsDirect Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations SystemsLizeth Paola Barrero
Β 
Orthogonal Matrices
Orthogonal MatricesOrthogonal Matrices
Orthogonal MatricesTahirAziz48
Β 
Beta gamma functions
Beta gamma functionsBeta gamma functions
Beta gamma functionsSelvaraj John
Β 
Complex Number's Applications
Complex Number's ApplicationsComplex Number's Applications
Complex Number's ApplicationsNikhil Deswal
Β 
Continuous Random variable
Continuous Random variableContinuous Random variable
Continuous Random variableJay Patel
Β 
Dss
Dss Dss
Dss nil65
Β 
Matrix and it's Application
Matrix and it's ApplicationMatrix and it's Application
Matrix and it's ApplicationMahmudle Hassan
Β 

What's hot (20)

Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of Matrices
Β 
Fuzzy logicintro by
Fuzzy logicintro by Fuzzy logicintro by
Fuzzy logicintro by
Β 
1 6
1 61 6
1 6
Β 
Implementation of Digital Filters
Implementation of Digital FiltersImplementation of Digital Filters
Implementation of Digital Filters
Β 
Fuzzy Logic
Fuzzy LogicFuzzy Logic
Fuzzy Logic
Β 
Fuzzy logic in approximate Reasoning
Fuzzy logic in approximate ReasoningFuzzy logic in approximate Reasoning
Fuzzy logic in approximate Reasoning
Β 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
Β 
Exponential Generating function
Exponential Generating functionExponential Generating function
Exponential Generating function
Β 
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...
Β 
Boolean algebra.pptx
Boolean algebra.pptxBoolean algebra.pptx
Boolean algebra.pptx
Β 
Infinite sequence and series
Infinite sequence and seriesInfinite sequence and series
Infinite sequence and series
Β 
Direct Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations SystemsDirect Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations Systems
Β 
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuriLINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
Β 
Orthogonal Matrices
Orthogonal MatricesOrthogonal Matrices
Orthogonal Matrices
Β 
Beta gamma functions
Beta gamma functionsBeta gamma functions
Beta gamma functions
Β 
Complex Number's Applications
Complex Number's ApplicationsComplex Number's Applications
Complex Number's Applications
Β 
Continuous Random variable
Continuous Random variableContinuous Random variable
Continuous Random variable
Β 
Dss
Dss Dss
Dss
Β 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Β 
Matrix and it's Application
Matrix and it's ApplicationMatrix and it's Application
Matrix and it's Application
Β 

Similar to Linear algebra application in linear programming

Linear logisticregression
Linear logisticregressionLinear logisticregression
Linear logisticregressionkongara
Β 
Linear programming
Linear programmingLinear programming
Linear programmingpolast
Β 
How to Solve Linear Equation with the help of Liner Equation Calculator?
How to Solve Linear Equation with the help of Liner Equation Calculator?How to Solve Linear Equation with the help of Liner Equation Calculator?
How to Solve Linear Equation with the help of Liner Equation Calculator?Maria Wilson
Β 
Linear programming class 12 investigatory project
Linear programming class 12 investigatory projectLinear programming class 12 investigatory project
Linear programming class 12 investigatory projectDivyans890
Β 
Bootcamp of new world to taken seriously
Bootcamp of new world to taken seriouslyBootcamp of new world to taken seriously
Bootcamp of new world to taken seriouslykhaled125087
Β 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methodsMayurjyotiNeog
Β 
LP linear programming (summary) (5s)
LP linear programming (summary) (5s)LP linear programming (summary) (5s)
LP linear programming (summary) (5s)DionΓ­sio Carmo-Neto
Β 
1439049238 272709.Pdf
1439049238 272709.Pdf1439049238 272709.Pdf
1439049238 272709.PdfAndrew Parish
Β 
Theory of linear programming
Theory of linear programmingTheory of linear programming
Theory of linear programmingTarun Gehlot
Β 
Ch11_LPIntro.pdf
Ch11_LPIntro.pdfCh11_LPIntro.pdf
Ch11_LPIntro.pdfyebegashet
Β 
Module 2 topic 1 notes
Module 2 topic 1 notesModule 2 topic 1 notes
Module 2 topic 1 noteschrystal_brinson
Β 
PRML Chapter 7
PRML Chapter 7PRML Chapter 7
PRML Chapter 7Sunwoo Kim
Β 
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATIONGENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATIONijaia
Β 
Daa unit 1
Daa unit 1Daa unit 1
Daa unit 1jinalgoti
Β 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programmingDagnaygebawGoshme
Β 
Analysis and Design of Algorithms notes
Analysis and Design of Algorithms  notesAnalysis and Design of Algorithms  notes
Analysis and Design of Algorithms notesProf. Dr. K. Adisesha
Β 
Exercises for pupils in primary education(0 4)-en
Exercises for pupils in primary education(0 4)-enExercises for pupils in primary education(0 4)-en
Exercises for pupils in primary education(0 4)-enGeorgeta Manafu
Β 
numerical analysis
numerical analysisnumerical analysis
numerical analysis'Anand Kumar'
Β 
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...IJERA Editor
Β 

Similar to Linear algebra application in linear programming (20)

Linear logisticregression
Linear logisticregressionLinear logisticregression
Linear logisticregression
Β 
Linear programming
Linear programmingLinear programming
Linear programming
Β 
How to Solve Linear Equation with the help of Liner Equation Calculator?
How to Solve Linear Equation with the help of Liner Equation Calculator?How to Solve Linear Equation with the help of Liner Equation Calculator?
How to Solve Linear Equation with the help of Liner Equation Calculator?
Β 
Linear programming class 12 investigatory project
Linear programming class 12 investigatory projectLinear programming class 12 investigatory project
Linear programming class 12 investigatory project
Β 
Bootcamp of new world to taken seriously
Bootcamp of new world to taken seriouslyBootcamp of new world to taken seriously
Bootcamp of new world to taken seriously
Β 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
Β 
LP linear programming (summary) (5s)
LP linear programming (summary) (5s)LP linear programming (summary) (5s)
LP linear programming (summary) (5s)
Β 
1439049238 272709.Pdf
1439049238 272709.Pdf1439049238 272709.Pdf
1439049238 272709.Pdf
Β 
Theory of linear programming
Theory of linear programmingTheory of linear programming
Theory of linear programming
Β 
Ch11_LPIntro.pdf
Ch11_LPIntro.pdfCh11_LPIntro.pdf
Ch11_LPIntro.pdf
Β 
Module 2 topic 1 notes
Module 2 topic 1 notesModule 2 topic 1 notes
Module 2 topic 1 notes
Β 
PRML Chapter 7
PRML Chapter 7PRML Chapter 7
PRML Chapter 7
Β 
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATIONGENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
GENETIC ALGORITHM FOR FUNCTION APPROXIMATION: AN EXPERIMENTAL INVESTIGATION
Β 
Daa unit 1
Daa unit 1Daa unit 1
Daa unit 1
Β 
linear programming
linear programming linear programming
linear programming
Β 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
Β 
Analysis and Design of Algorithms notes
Analysis and Design of Algorithms  notesAnalysis and Design of Algorithms  notes
Analysis and Design of Algorithms notes
Β 
Exercises for pupils in primary education(0 4)-en
Exercises for pupils in primary education(0 4)-enExercises for pupils in primary education(0 4)-en
Exercises for pupils in primary education(0 4)-en
Β 
numerical analysis
numerical analysisnumerical analysis
numerical analysis
Β 
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Β 

More from Lahiru Dilshan

"Capture" in lambda expression.
"Capture" in lambda expression."Capture" in lambda expression.
"Capture" in lambda expression.Lahiru Dilshan
Β 
CAD vs CAM vs CAE software.pdf
CAD vs CAM vs CAE software.pdfCAD vs CAM vs CAE software.pdf
CAD vs CAM vs CAE software.pdfLahiru Dilshan
Β 
Degeneracies in 3D modeling.pdf
Degeneracies in 3D modeling.pdfDegeneracies in 3D modeling.pdf
Degeneracies in 3D modeling.pdfLahiru Dilshan
Β 
Operator overloading C++
Operator overloading C++Operator overloading C++
Operator overloading C++Lahiru Dilshan
Β 
What does Buffer in C++ means.pdf
What does Buffer in C++ means.pdfWhat does Buffer in C++ means.pdf
What does Buffer in C++ means.pdfLahiru Dilshan
Β 
Open CASCADE for your project.pdf
Open CASCADE for your project.pdfOpen CASCADE for your project.pdf
Open CASCADE for your project.pdfLahiru Dilshan
Β 
Linkage mechanisms - Presentation
Linkage mechanisms - PresentationLinkage mechanisms - Presentation
Linkage mechanisms - PresentationLahiru Dilshan
Β 
Industrial Training Experience
Industrial Training ExperienceIndustrial Training Experience
Industrial Training ExperienceLahiru Dilshan
Β 
Small scale business analysis
Small scale business analysisSmall scale business analysis
Small scale business analysisLahiru Dilshan
Β 
Computational and experimental investigation of aerodynamics of flapping aero...
Computational and experimental investigation of aerodynamics of flapping aero...Computational and experimental investigation of aerodynamics of flapping aero...
Computational and experimental investigation of aerodynamics of flapping aero...Lahiru Dilshan
Β 
Experimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structureExperimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structureLahiru Dilshan
Β 
Experimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structureExperimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structureLahiru Dilshan
Β 
Transient three dimensional cfd modelling of ceilng fan
Transient three dimensional cfd modelling of ceilng fanTransient three dimensional cfd modelling of ceilng fan
Transient three dimensional cfd modelling of ceilng fanLahiru Dilshan
Β 
Payload safety and related human factors
Payload safety and related human factorsPayload safety and related human factors
Payload safety and related human factorsLahiru Dilshan
Β 
Human factors consideration in emergency evacuation for commercial aircaft
Human factors consideration in emergency evacuation for commercial aircaftHuman factors consideration in emergency evacuation for commercial aircaft
Human factors consideration in emergency evacuation for commercial aircaftLahiru Dilshan
Β 
Human factors in payload safety of fighter aircrafts
Human factors in payload safety of fighter aircraftsHuman factors in payload safety of fighter aircrafts
Human factors in payload safety of fighter aircraftsLahiru Dilshan
Β 
HUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONS
HUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONSHUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONS
HUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONSLahiru Dilshan
Β 
Human factors - Maintenance and inspection
Human factors - Maintenance and inspectionHuman factors - Maintenance and inspection
Human factors - Maintenance and inspectionLahiru Dilshan
Β 
Fire safety of passenger aircraft
Fire safety of passenger aircraftFire safety of passenger aircraft
Fire safety of passenger aircraftLahiru Dilshan
Β 
Displays and controls arrangement of military aircraft
Displays and controls arrangement of military aircraftDisplays and controls arrangement of military aircraft
Displays and controls arrangement of military aircraftLahiru Dilshan
Β 

More from Lahiru Dilshan (20)

"Capture" in lambda expression.
"Capture" in lambda expression."Capture" in lambda expression.
"Capture" in lambda expression.
Β 
CAD vs CAM vs CAE software.pdf
CAD vs CAM vs CAE software.pdfCAD vs CAM vs CAE software.pdf
CAD vs CAM vs CAE software.pdf
Β 
Degeneracies in 3D modeling.pdf
Degeneracies in 3D modeling.pdfDegeneracies in 3D modeling.pdf
Degeneracies in 3D modeling.pdf
Β 
Operator overloading C++
Operator overloading C++Operator overloading C++
Operator overloading C++
Β 
What does Buffer in C++ means.pdf
What does Buffer in C++ means.pdfWhat does Buffer in C++ means.pdf
What does Buffer in C++ means.pdf
Β 
Open CASCADE for your project.pdf
Open CASCADE for your project.pdfOpen CASCADE for your project.pdf
Open CASCADE for your project.pdf
Β 
Linkage mechanisms - Presentation
Linkage mechanisms - PresentationLinkage mechanisms - Presentation
Linkage mechanisms - Presentation
Β 
Industrial Training Experience
Industrial Training ExperienceIndustrial Training Experience
Industrial Training Experience
Β 
Small scale business analysis
Small scale business analysisSmall scale business analysis
Small scale business analysis
Β 
Computational and experimental investigation of aerodynamics of flapping aero...
Computational and experimental investigation of aerodynamics of flapping aero...Computational and experimental investigation of aerodynamics of flapping aero...
Computational and experimental investigation of aerodynamics of flapping aero...
Β 
Experimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structureExperimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structure
Β 
Experimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structureExperimental and numerical stress analysis of a rectangular wing structure
Experimental and numerical stress analysis of a rectangular wing structure
Β 
Transient three dimensional cfd modelling of ceilng fan
Transient three dimensional cfd modelling of ceilng fanTransient three dimensional cfd modelling of ceilng fan
Transient three dimensional cfd modelling of ceilng fan
Β 
Payload safety and related human factors
Payload safety and related human factorsPayload safety and related human factors
Payload safety and related human factors
Β 
Human factors consideration in emergency evacuation for commercial aircaft
Human factors consideration in emergency evacuation for commercial aircaftHuman factors consideration in emergency evacuation for commercial aircaft
Human factors consideration in emergency evacuation for commercial aircaft
Β 
Human factors in payload safety of fighter aircrafts
Human factors in payload safety of fighter aircraftsHuman factors in payload safety of fighter aircrafts
Human factors in payload safety of fighter aircrafts
Β 
HUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONS
HUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONSHUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONS
HUMAN FACTOR CONSIDERATIONS IN MILITARY AIRCRAFT MAINTENANCE AND INSPECTIONS
Β 
Human factors - Maintenance and inspection
Human factors - Maintenance and inspectionHuman factors - Maintenance and inspection
Human factors - Maintenance and inspection
Β 
Fire safety of passenger aircraft
Fire safety of passenger aircraftFire safety of passenger aircraft
Fire safety of passenger aircraft
Β 
Displays and controls arrangement of military aircraft
Displays and controls arrangement of military aircraftDisplays and controls arrangement of military aircraft
Displays and controls arrangement of military aircraft
Β 

Recently uploaded

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 πŸ’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 πŸ’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 πŸ’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 πŸ’ž Full Nigh...Pooja Nehwal
Β 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
Β 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
Β 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
Β 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
Β 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
Β 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
Β 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
Β 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
Β 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
Β 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Dr. Mazin Mohamed alkathiri
Β 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
Β 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
Β 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
Β 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
Β 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
Β 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
Β 

Recently uploaded (20)

Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 πŸ’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 πŸ’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 πŸ’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 πŸ’ž Full Nigh...
Β 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Β 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
Β 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
Β 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
Β 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
Β 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
Β 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Β 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
Β 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
Β 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
Β 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
Β 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
Β 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Β 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Β 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
Β 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
Β 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
Β 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
Β 
CΓ³digo Creativo y Arte de Software | Unidad 1
CΓ³digo Creativo y Arte de Software | Unidad 1CΓ³digo Creativo y Arte de Software | Unidad 1
CΓ³digo Creativo y Arte de Software | Unidad 1
Β 

Linear algebra application in linear programming

  • 1. Application to linear programming Linear programming is used for arithmetical calculations such as maximizing and minimizing of a certain quantity under some various constraints. Most of the problems in day-to-day life we have to consider maximizing and minimizing. But rather than simple analytical problems there will be some other advance problems, that have to consider many number of constraints simultaneously. Such problems, linear programming can be used as a guiding tool. Problems that can contains any number of variables and also many number of constraints. If these constraints are interrelated with linearly, can be applied linear algebraic concepts. In the world of science and also industrial related problems can be solved or can get optimal solution with the help of this technique. As an approach we can get two variable geometric problem. In generally we can get any two variables that are subjected to series of constraints. As an instance, let’s get 𝑧 = π‘Žπ‘₯ + 𝑏𝑦, where a and b are constants. We have given that maximize or minimize z, that subjected to following constraints. π‘Ž1 π‘₯ + 𝑏1 𝑦 (≀)(β‰₯)(=) 𝑐1 π‘Ž2 π‘₯ + 𝑏2 𝑦 (≀)(β‰₯)(=) 𝑐2 π‘Ž3 π‘₯ + 𝑏3 𝑦 (≀)(β‰₯)(=) 𝑐3 π‘Ž 𝑛 π‘₯ + 𝑏 𝑛 𝑦 (≀)(β‰₯)(=) 𝑐 𝑛 and also, π‘₯ β‰₯ 0, 𝑦 β‰₯ 0. Here that equations that show above could have only one symbol among them. These problem-solving method is going similarly with the genetic algorithm problems. In genetic algorithms, basically the logic is implemented using randomly generated values and then check the constraints. Then get the values of z. And also after calculations, use penalty values and optimize the penalty values. Here the main function, that is the equation or constraint containing, z is the objective function. We are trying to get optimal solution for z as our final goal. The values that satisfy all constraints are called as feasible solutions, and also the region that feasible values are spread out is called as feasible region. If the problem has many number of constraints, we cannot put each and every value and check the satisfaction. So that when we can find a region that contains satisfactory values, will cause to reduce the calculation effort. Here we are going to focus on linearly related variables, but when we have problems such as nonlinear related, have to look another solving methods. As an example, genetic algorithm is
  • 2. a one programming concept that can use to develop nonlinear programming and get optimized solution. Another method is neural networks. These are quite high-end programming concepts, that are more developed than linear programming. Because of the advance, these concepts can be used to implement the artificial intelligence problem solving logics also. Let’s focus on linear programming. π‘Ž1 π‘₯ + 𝑏1 𝑦 = 𝑐1is an equation of a straight line that contain in xy plane. π‘Ž1 π‘₯ + 𝑏1 𝑦 ≀ 𝑐1 π‘œπ‘Ÿ π‘Ž1 π‘₯ + 𝑏1 𝑦 β‰₯ 𝑐1 are represent half side of the plane. If there is a constraint that contains inequality symbol, that means that region is contained many lines. With regarding many constraints, we can get bounded region, that means the region is enclosed with sufficient constraints. Another type is unbounded region. That implies that the region is cannot be exactly determined. There can be feasible regions that has no constraints points, means empty feasible region. Also, extreme points are the points that are boundary points intersection of the straight-line sections. There are some theorems that will guided us to the successful answers that are satisfy all constraint points. These theorems said that, β€œIf the feasible region of a linear programming problem is nonempty and bounded, then the objective function attains both a maximum and minimum value and these occur at extreme points of the feasible region. If the feasible region is unbounded, then the objective function may or may not attain a maximum or minimum value; however, if it attains a maximum or minimum value, it does so at an extreme point.” we can get an example and try to solve. A candy manufacturer has 130 pounds of chocolate-covered cherries and 170 pounds of chocolate-covered mints in stock. He decides to sell them in the form of two different mixtures. One mixture will contain half cherries and half mints by weight and will sell for $2.00 per pound. The other mixture will contain one-third cherries and two-thirds mints by weight and will sell for $1.25 per pound. How many pounds of each mixture should the candy manufacturer prepare in order to maximize his sales revenue? Let’s get approach to this question. For the simplicity we can call A the mixture of half cherries and half mints, and B the mixture which is 1/3 cherries and 2/3 mints. X be the number of pounds of A to be prepared and y the number of pounds of B to be prepared. With that we can build our objective function. 𝑧 = 2π‘₯ + 1.25𝑦
  • 3. The total number of pounds of cherries in both mixture is 1 2 π‘₯ + 1 3 𝑦 The total number of pounds of mints used in both mixtures is 1 2 π‘₯ + 2 3 𝑦 Using that data, we can derive constraints as shown in bellow, 1 2 π‘₯ + 1 3 𝑦 ≀ 130 1 2 π‘₯ + 2 3 𝑦 ≀ 170 Using given data π‘₯ β‰₯ 0 𝑦 β‰₯ 0 To solve the question, we can use linear programming technique as mentioned above. After that we have to define feasible region. That have to define feasible region first. Here we can see that the feasible region is bounded. The optimal solution can be found at the extreme points as shown in the graph. So that to evaluating the objective function, we can get the values as follows.
  • 4. As shown in the table, we can see, largest value for z is 520.0 and the optimal solution is (260,0). So that manufacture can get maximum sae of $520 when he produces 260 pounds of mixture A and none of mixture B. This example is taken out from the website, the link is mentioned in the reference region. That is a simple problem that can be solved using linear programming. We can say the equations can be solved easily without aid of any computer programme. But we have to remember, these methods can be implemented to higher accuracy needed and more number of constrained problems, that we cannot even think about the feasible region. And also, the problem is get more complex when the feasible region is un-bounded. Algorithm making and computer coding methods are varying from people to people, because all of them looking for the problem in different angles. And also deriving equations will be different. So that we have to improve our own method to solve these types of equations. References Application to linear programming. (n.d.). Retrieved from Applications of linear algebra: http://aix1.uottawa.ca/~jkhoury/app.htm ANTON, H. and C. RORRES. Elementary Linear Algebra: Applications Version, 8th ed. New York: John Wiley & Sons, Inc., 2000.