SlideShare a Scribd company logo
1 of 13
Download to read offline
Combinatorial Optimization
CS-724
Lec-5:
Date: 01-03-2021
Dr. Parikshit Saikia
Assistant Professor
Department of Computer Science and Engineering
NIT Hamirpur (HP)
India
 Local and global optima
 Convex Set
 Convex Functions
 Convex Programming Problem
Starch Proteins Vitamins Cost/Kg
G1 5 4 2 6
G2 7 2 1 35
x1: number of units of grain G1 to be consumed per day, •
x2: number of units of grain G2 to be consumed per day.
The requirement per day of starch, proteins and vitamins
is 8, 15 and 3 respectively.
 General LP
 Canonical LP
 Standard LP
The following one is an equality constraint in general
form
σ𝒋=𝟏
𝒏
𝒂i,j xj = bj
The equivalent canonical form is
σ𝒋=𝟏
𝒏
𝒂i,j xj ≥ bj
and
σ𝒋=𝟏
𝒏
(−𝒂i,j ) xj ≥ (− bj )
 Given an unconstrained (free) variable xj in the general form
xj ≶ 𝟎
In the corresponding canonical form we create two variables xj
+ and xj
–
and we write
xj = xj
+ − xj
−
where xj
+ ≥ 0 and xj
−
≥ 0
 The following is in Canonical LP
σ𝒋=𝟏
𝒏
𝒂i,j xj ≥ bj
In the standard form we introduce a variable si (called surplus variable) and write
σ𝒋=𝟏
𝒏
𝒂i,j xj − si = bj , si ≥ 0
 If the inequality is in the following form
σ𝒋=𝟏
𝒏
𝒂i,j xj ≤ bj
Then the corresponding standard form is (here si is called slack variable)
σ𝒋=𝟏
𝒏
𝒂i,j xj + si = bj , si ≥ 0
 Example:
𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 3𝑥1 + 5𝑥2 − 𝑥3
subject to 𝑥1+2𝑥2 + 4𝑥3 ≤ −4 … … … … … … … . 1
−5𝑥1 − 3𝑥2 + 𝑥3 ≥ 15 … … … … … … … . (2)
𝑥1 ≶ 0
𝑥2 ≤ 0
𝑥3 ≥ 0
 Convert the maximization problem to minimization one by multiplying the objective
function by −1 .
 Next, we introduce a slack variable 𝑥4 in the first constraint to convert constraint 1
into
𝑥1 + 2𝑥2 + 4𝑥3 + 𝑥4 = −4, 𝑥4 ≥ 0
And then multiply it by −1 to make the RHS positive.
−𝑥1 − 2𝑥2 − 4𝑥3 − 𝑥4 = 4, 𝑥4 ≥ 0
For the constrained 2 a surplus variable 𝑥5 is introduced
−5𝑥1 − 3𝑥2 + 𝑥3 − 𝑥5 = 15, 𝑥5 ≥ 0
 Next substitute 𝑥1 = 𝑥6 − 𝑥7 in every expression
 Finally substitute 𝑥2 with −𝑥2
′
 The standard LP form is as follows.
Minimize 5𝑥2
′
+ 𝑥3 − 3𝑥6 + 3𝑥7
Subject to 2𝑥2
′
− 4𝑥3 − 𝑥4 + 0𝑥5 − 𝑥6 + 𝑥7 = 4
3𝑥2
′
+ 𝑥3 + 0𝑥4 − 𝑥5 − 5𝑥6 + 5𝑥7 = 15
𝑥2
′
, 𝑥3, 𝑥4, 𝑥5, 𝑥6, 𝑥7 ≥ 0

More Related Content

What's hot

Tampil english math
Tampil english mathTampil english math
Tampil english mathintanbuhatii
 
Tugas Calculus : Limit (Hal. 8-14)
Tugas Calculus : Limit (Hal. 8-14)Tugas Calculus : Limit (Hal. 8-14)
Tugas Calculus : Limit (Hal. 8-14)cinjy
 
Examen de algebra 4
Examen de algebra 4Examen de algebra 4
Examen de algebra 4CECYTEG
 
1.7 solving absolute value equations part 1
1.7 solving absolute value equations part 11.7 solving absolute value equations part 1
1.7 solving absolute value equations part 1fthrower
 
4.5 practice (compound inequalities)
4.5 practice (compound inequalities)4.5 practice (compound inequalities)
4.5 practice (compound inequalities)MsKendall
 
Skema mt-k1-pp-spm-t5-2017-set-a
Skema mt-k1-pp-spm-t5-2017-set-aSkema mt-k1-pp-spm-t5-2017-set-a
Skema mt-k1-pp-spm-t5-2017-set-aTuisyen Geliga
 
1.4 Polynomials
1.4 Polynomials1.4 Polynomials
1.4 Polynomialssmiller5
 
Unit 3 review
Unit 3 reviewUnit 3 review
Unit 3 reviewMs. Jones
 
Multimedia Student Tutorial Exponents
Multimedia Student Tutorial ExponentsMultimedia Student Tutorial Exponents
Multimedia Student Tutorial Exponentsstac109
 
7.2 notes classwork-hw
7.2 notes classwork-hw7.2 notes classwork-hw
7.2 notes classwork-hwMsKendall
 
0.2 Exponents and Polynomials
0.2 Exponents and Polynomials0.2 Exponents and Polynomials
0.2 Exponents and Polynomialssmiller5
 
Division of rational expressions
Division of rational expressionsDivision of rational expressions
Division of rational expressionsMartinGeraldine
 

What's hot (15)

Tampil english math
Tampil english mathTampil english math
Tampil english math
 
Tugas Calculus : Limit (Hal. 8-14)
Tugas Calculus : Limit (Hal. 8-14)Tugas Calculus : Limit (Hal. 8-14)
Tugas Calculus : Limit (Hal. 8-14)
 
Examen de algebra 4
Examen de algebra 4Examen de algebra 4
Examen de algebra 4
 
1.7 solving absolute value equations part 1
1.7 solving absolute value equations part 11.7 solving absolute value equations part 1
1.7 solving absolute value equations part 1
 
4.5 practice (compound inequalities)
4.5 practice (compound inequalities)4.5 practice (compound inequalities)
4.5 practice (compound inequalities)
 
Alternating Group presentation
Alternating Group presentationAlternating Group presentation
Alternating Group presentation
 
Skema mt-k1-pp-spm-t5-2017-set-a
Skema mt-k1-pp-spm-t5-2017-set-aSkema mt-k1-pp-spm-t5-2017-set-a
Skema mt-k1-pp-spm-t5-2017-set-a
 
Book powerpoint
Book powerpointBook powerpoint
Book powerpoint
 
1.4 Polynomials
1.4 Polynomials1.4 Polynomials
1.4 Polynomials
 
Unit 3 review
Unit 3 reviewUnit 3 review
Unit 3 review
 
Multimedia Student Tutorial Exponents
Multimedia Student Tutorial ExponentsMultimedia Student Tutorial Exponents
Multimedia Student Tutorial Exponents
 
7.2 notes classwork-hw
7.2 notes classwork-hw7.2 notes classwork-hw
7.2 notes classwork-hw
 
0.2 Exponents and Polynomials
0.2 Exponents and Polynomials0.2 Exponents and Polynomials
0.2 Exponents and Polynomials
 
Presentation1
Presentation1Presentation1
Presentation1
 
Division of rational expressions
Division of rational expressionsDivision of rational expressions
Division of rational expressions
 

Similar to Combinatorial optimization CO-5

U1 02 operaciones expresiones algebraicas
U1   02  operaciones expresiones algebraicasU1   02  operaciones expresiones algebraicas
U1 02 operaciones expresiones algebraicasUNEFA Zulia
 
0.5 Rational Expressions
0.5 Rational Expressions0.5 Rational Expressions
0.5 Rational Expressionssmiller5
 
Optimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationOptimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationSantiagoGarridoBulln
 
51556 0131469657 ism-15
51556 0131469657 ism-1551556 0131469657 ism-15
51556 0131469657 ism-15Carlos Fuentes
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisDagnaygebawGoshme
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notesTarig Gibreel
 
1.6 Rational Expressions
1.6 Rational Expressions1.6 Rational Expressions
1.6 Rational Expressionssmiller5
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programmingchaitu87
 
Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...rofiho9697
 
Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Derbew Tesfa
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game TheoryPurnima Pandit
 
Introductory maths analysis chapter 17 official
Introductory maths analysis   chapter 17 officialIntroductory maths analysis   chapter 17 official
Introductory maths analysis chapter 17 officialEvert Sandye Taasiringan
 
Chapter17 multivariablecalculus-151007044001-lva1-app6891
Chapter17 multivariablecalculus-151007044001-lva1-app6891Chapter17 multivariablecalculus-151007044001-lva1-app6891
Chapter17 multivariablecalculus-151007044001-lva1-app6891Cleophas Rwemera
 

Similar to Combinatorial optimization CO-5 (20)

MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
 
Simplex method
Simplex method Simplex method
Simplex method
 
Graphical method
Graphical methodGraphical method
Graphical method
 
U1 02 operaciones expresiones algebraicas
U1   02  operaciones expresiones algebraicasU1   02  operaciones expresiones algebraicas
U1 02 operaciones expresiones algebraicas
 
0.5 Rational Expressions
0.5 Rational Expressions0.5 Rational Expressions
0.5 Rational Expressions
 
Optimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationOptimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimization
 
51556 0131469657 ism-15
51556 0131469657 ism-1551556 0131469657 ism-15
51556 0131469657 ism-15
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Two phase method lpp
Two phase method lppTwo phase method lpp
Two phase method lpp
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notes
 
1.6 Rational Expressions
1.6 Rational Expressions1.6 Rational Expressions
1.6 Rational Expressions
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...
 
EPCA_MODULE-2.pptx
EPCA_MODULE-2.pptxEPCA_MODULE-2.pptx
EPCA_MODULE-2.pptx
 
Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research Linearprog, Reading Materials for Operational Research
Linearprog, Reading Materials for Operational Research
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Chapter 17 - Multivariable Calculus
Chapter 17 - Multivariable CalculusChapter 17 - Multivariable Calculus
Chapter 17 - Multivariable Calculus
 
Introductory maths analysis chapter 17 official
Introductory maths analysis   chapter 17 officialIntroductory maths analysis   chapter 17 official
Introductory maths analysis chapter 17 official
 
Chapter17 multivariablecalculus-151007044001-lva1-app6891
Chapter17 multivariablecalculus-151007044001-lva1-app6891Chapter17 multivariablecalculus-151007044001-lva1-app6891
Chapter17 multivariablecalculus-151007044001-lva1-app6891
 
Grade 9_Week 6_Day 1.pptx
Grade 9_Week 6_Day 1.pptxGrade 9_Week 6_Day 1.pptx
Grade 9_Week 6_Day 1.pptx
 

More from man003

Combinatorial optimization CO-3
Combinatorial optimization CO-3Combinatorial optimization CO-3
Combinatorial optimization CO-3man003
 
Combinatorial optimization CO-2
Combinatorial optimization CO-2Combinatorial optimization CO-2
Combinatorial optimization CO-2man003
 
Combinatorial optimization CO-1
Combinatorial optimization CO-1Combinatorial optimization CO-1
Combinatorial optimization CO-1man003
 
Combinatorial optimization CO-7
Combinatorial optimization CO-7Combinatorial optimization CO-7
Combinatorial optimization CO-7man003
 
Combinatorial optimization CO-6
Combinatorial optimization CO-6Combinatorial optimization CO-6
Combinatorial optimization CO-6man003
 
Combinatorial optimization CO-4
Combinatorial optimization CO-4Combinatorial optimization CO-4
Combinatorial optimization CO-4man003
 
IOT(Internet of Things) Seminar
IOT(Internet of Things) SeminarIOT(Internet of Things) Seminar
IOT(Internet of Things) Seminarman003
 

More from man003 (7)

Combinatorial optimization CO-3
Combinatorial optimization CO-3Combinatorial optimization CO-3
Combinatorial optimization CO-3
 
Combinatorial optimization CO-2
Combinatorial optimization CO-2Combinatorial optimization CO-2
Combinatorial optimization CO-2
 
Combinatorial optimization CO-1
Combinatorial optimization CO-1Combinatorial optimization CO-1
Combinatorial optimization CO-1
 
Combinatorial optimization CO-7
Combinatorial optimization CO-7Combinatorial optimization CO-7
Combinatorial optimization CO-7
 
Combinatorial optimization CO-6
Combinatorial optimization CO-6Combinatorial optimization CO-6
Combinatorial optimization CO-6
 
Combinatorial optimization CO-4
Combinatorial optimization CO-4Combinatorial optimization CO-4
Combinatorial optimization CO-4
 
IOT(Internet of Things) Seminar
IOT(Internet of Things) SeminarIOT(Internet of Things) Seminar
IOT(Internet of Things) Seminar
 

Recently uploaded

Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfrs7054576148
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 

Recently uploaded (20)

Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 

Combinatorial optimization CO-5

  • 1. Combinatorial Optimization CS-724 Lec-5: Date: 01-03-2021 Dr. Parikshit Saikia Assistant Professor Department of Computer Science and Engineering NIT Hamirpur (HP) India
  • 2.  Local and global optima  Convex Set  Convex Functions  Convex Programming Problem
  • 3. Starch Proteins Vitamins Cost/Kg G1 5 4 2 6 G2 7 2 1 35 x1: number of units of grain G1 to be consumed per day, • x2: number of units of grain G2 to be consumed per day. The requirement per day of starch, proteins and vitamins is 8, 15 and 3 respectively.
  • 4.  General LP  Canonical LP  Standard LP
  • 5.
  • 6.
  • 7.
  • 8. The following one is an equality constraint in general form σ𝒋=𝟏 𝒏 𝒂i,j xj = bj The equivalent canonical form is σ𝒋=𝟏 𝒏 𝒂i,j xj ≥ bj and σ𝒋=𝟏 𝒏 (−𝒂i,j ) xj ≥ (− bj )
  • 9.  Given an unconstrained (free) variable xj in the general form xj ≶ 𝟎 In the corresponding canonical form we create two variables xj + and xj – and we write xj = xj + − xj − where xj + ≥ 0 and xj − ≥ 0
  • 10.  The following is in Canonical LP σ𝒋=𝟏 𝒏 𝒂i,j xj ≥ bj In the standard form we introduce a variable si (called surplus variable) and write σ𝒋=𝟏 𝒏 𝒂i,j xj − si = bj , si ≥ 0  If the inequality is in the following form σ𝒋=𝟏 𝒏 𝒂i,j xj ≤ bj Then the corresponding standard form is (here si is called slack variable) σ𝒋=𝟏 𝒏 𝒂i,j xj + si = bj , si ≥ 0
  • 11.  Example: 𝑚𝑎𝑥𝑖𝑚𝑖𝑧𝑒 3𝑥1 + 5𝑥2 − 𝑥3 subject to 𝑥1+2𝑥2 + 4𝑥3 ≤ −4 … … … … … … … . 1 −5𝑥1 − 3𝑥2 + 𝑥3 ≥ 15 … … … … … … … . (2) 𝑥1 ≶ 0 𝑥2 ≤ 0 𝑥3 ≥ 0
  • 12.  Convert the maximization problem to minimization one by multiplying the objective function by −1 .  Next, we introduce a slack variable 𝑥4 in the first constraint to convert constraint 1 into 𝑥1 + 2𝑥2 + 4𝑥3 + 𝑥4 = −4, 𝑥4 ≥ 0 And then multiply it by −1 to make the RHS positive. −𝑥1 − 2𝑥2 − 4𝑥3 − 𝑥4 = 4, 𝑥4 ≥ 0 For the constrained 2 a surplus variable 𝑥5 is introduced −5𝑥1 − 3𝑥2 + 𝑥3 − 𝑥5 = 15, 𝑥5 ≥ 0
  • 13.  Next substitute 𝑥1 = 𝑥6 − 𝑥7 in every expression  Finally substitute 𝑥2 with −𝑥2 ′  The standard LP form is as follows. Minimize 5𝑥2 ′ + 𝑥3 − 3𝑥6 + 3𝑥7 Subject to 2𝑥2 ′ − 4𝑥3 − 𝑥4 + 0𝑥5 − 𝑥6 + 𝑥7 = 4 3𝑥2 ′ + 𝑥3 + 0𝑥4 − 𝑥5 − 5𝑥6 + 5𝑥7 = 15 𝑥2 ′ , 𝑥3, 𝑥4, 𝑥5, 𝑥6, 𝑥7 ≥ 0