The document discusses primal and dual linear programming problems. It provides examples of a primal problem about maximizing revenue from producing furniture given resource constraints, and its corresponding dual problem. The key relationships between a primal problem, its dual, and their optimal solutions are explained, including weak duality where any feasible primal solution has an objective value no greater than any feasible dual solution, and strong duality where the optimal primal and dual objectives are equal. General rules are provided for constructing the dual problem from the primal.
The transportation problem is a special type of linear programming problem where the objective is to minimize the cost of distributing a product from a number of sources or origins to a number of destinations.
Because of its special structure, the usual simplex method is not suitable for solving transportation problems. These problems require a special method of solution.
The Least Cost Method is another method used to obtain the initial feasible solution for the transportation problem. Here, the allocation begins with the cell which has the minimum cost. The lower cost cells are chosen over the higher-cost cell with the objective to have the least cost of transportation.
The Modified Distribution Method or MODI is an efficient method of checking the optimality of the initial feasible solution. MODI provides a new means of finding the unused route with the largest negative improvement index. Once the largest index is identified, we are required to trace only one closed path. This path helps determine the maximum number of units that can be shipped via the best unused route.
The transportation problem is a special type of linear programming problem where the objective is to minimize the cost of distributing a product from a number of sources or origins to a number of destinations.
Because of its special structure, the usual simplex method is not suitable for solving transportation problems. These problems require a special method of solution.
The Least Cost Method is another method used to obtain the initial feasible solution for the transportation problem. Here, the allocation begins with the cell which has the minimum cost. The lower cost cells are chosen over the higher-cost cell with the objective to have the least cost of transportation.
The Modified Distribution Method or MODI is an efficient method of checking the optimality of the initial feasible solution. MODI provides a new means of finding the unused route with the largest negative improvement index. Once the largest index is identified, we are required to trace only one closed path. This path helps determine the maximum number of units that can be shipped via the best unused route.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Digital Tools and AI for Teaching Learning and Research
primal and dual problem
1. PRIMAL & DUAL
PROBLEMS,THEIR INTER
RELATIONSHIP
PREPARED BY:
130010119042 –KHAMBHAYATA MAYUR
130010119045 – KHANT VIJAY
130010119047 – LAD YASH A.
SUBMITTED TO:
PROF. S.R.PANDYA
2. CONTENT:
Duality Theory
Examples
Standard form of the Dual Problem
Definition
Primal-Dual relationship
Duality in LP
General Rules for Constructing Dual
Strong Dual
Weak Dual
3. Duality Theory
The theory of duality is a very elegant and important
concept within the field of operations research. This
theory was first developed in relation to linear
programming, but it has many applications, and
perhaps even a more natural and intuitive
interpretation, in several related areas such as
nonlinear programming, networks and game theory.
4. The notion of duality within linear programming asserts
that every linear program has associated with it a
related linear program called its dual. The original
problem in relation to its dual is termed the primal.
it is the relationship between the primal and its dual,
both on a mathematical and economic level, that is
truly the essence of duality theory.
Duality Theory (continue…)
5. Examples
There is a small company in Melbourne which has recently
become engaged in the production of office furniture. The
company manufactures tables, desks and chairs. The
production of a table requires 8 kgs of wood and 5 kgs of
metal and is sold for $80; a desk uses 6 kgs of wood and 4
kgs of metal and is sold for $60; and a chair requires 4 kgs of
both metal and wood and is sold for $50. We would like to
determine the revenue maximizing strategy for this
company, given that their resources are limited to 100 kgs
of wood and 60 kgs of metal.
6. Standard form of the Primal
Problem
a x a x a x b
a x a x a x b
a x a x a x b
x x x
n n
n n
m m mn n m
n
11 1 12 2 1 1
21 1 22 2 2 2
1 1 2 2
1 2 0
...
...
... ... ... ...
... ... ... ...
...
, ,...,
max
x
j j
j
n
Z c x
1
7. Standard form of the Dual
Problem
a y a y a y c
a y a y a y c
a y a y a y c
y y y
m m
m m
n n mn m n
m
11 1 21 2 1 1
12 1 22 2 2 2
1 1 2 2
1 2 0
...
...
... ... ... ...
... ... ... ...
...
, ,...,
min
y
i
i
m
iw b y
1
8. Definition
z Z cx
s t
Ax b
x
x
*: max
. .
0
w* : min
x
w yb
s.t.
yA c
y 0
Primal Problem Dual Problem
b is not assumed to be non-negative
9. Primal-Dual relationship
x1 0 x2 0 xn 0 w =
y1 0 a11 a12 a n1 b1
D u a l y2 0 a21 a22 a n2 b2
(m in w ) .. . . .. ... . .. . . .
ym 0 am1 am2 amn bn
Z = c1 c2 cn
10. Example
5 18 5 15
8 12 8 8
12 4 8 10
2 5 5
0
1 2 3
1 2 3
1 2 3
1 3
1 2 3
x x x
x x x
x x x
x x
x x x
, ,
max
x
Z x x x 4 10 91 2 3
12. Dual
5 8 12 2 4
18 12 4 10
5 8 5 9
0
1 2 3 4
1 2 3
1 3 4
1 2 3 4
y y y y
y y y
y y y
y y y y
, , ,
min
y
w y y y y 15 8 10 51 2 3 4
13. d x ei
i
k
i
1
d x e
d x e
i
i
k
i
i
i
k
i
1
1
d x e
d x e
i
i
k
i
i
i
k
i
1
1
Standard form!
15. Duality in LP
In LP models, scarce resources are allocated, so they
should be, valued
Whenever we solve an LP problem, we solve two
problems: the primal resource allocation problem,
and the dual resource valuation problem
If the primal problem has n variables and m constraints,
the dual problem will have m variables and n
constraints
16. Primal and Dual Algebra
Primal
j j
j
ij j i
j
j
c X
. . a X b 1,...,
X 0 1,...,
Max
s t i m
j n
Dual
i
i
ij j
i
i
Min b
s.t. a c 1,...,
Y 0 1,...,
i
i
Y
Y j n
i m
'
. .
0
Max C X
s t X b
X
'
'
. .
0
Min b Y
s t AY C
Y
17. Example
1 2
1 2
1 2
1 2
40 30 ( )
. . 120 ( )
4 2 320 ( )
, 0
Max x x profits
s t x x land
x x labor
x x
1 2
1 2 1
1 2 2
1 2
( ) ( )
120 320
. . 4 40 ( )
2 30 ( )
, 0
land labor
Min y y
s t y y x
y y x
y y
Primal
Dual
18. General Rules for Constructing Dual
1. The number of variables in the dual problem is equal to the number of
constraints in the original (primal) problem. The number of constraints in
the dual problem is equal to the number of variables in the original
problem.
2. Coefficient of the objective function in the dual problem come from the
right-hand side of the original problem.
3. If the original problem is a max model, the dual is a min model; if the original
problem is a min model, the dual problem is the max problem.
4. The coefficient of the first constraint function for the dual problem are the
coefficients of the first variable in the constraints for the original problem,
and the similarly for other constraints.
5. The right-hand sides of the dual constraints come from the objective function
coefficients in the original problem.
19. Relations between Primal and Dual
1. The dual of the dual problem is again the primal problem.
2. Either of the two problems has an optimal solution if and
only if the other does; if one problem is feasible but
unbounded, then the other is infeasible; if one is infeasible,
then the other is either infeasible or feasible/unbounded.
3. Weak Duality Theorem: The objective function value of the
primal (dual) to be maximized evaluated at any primal (dual)
feasible solution cannot exceed the dual (primal) objective
function value evaluated at a dual (primal) feasible solution.
cTx >= bTy (in the standard equality form)
20. Relations between Primal and Dual (continued)
4. Strong Duality Theorem: When there is an optimal solution, the
optimal objective value of the primal is the same as the optimal
objective value of the dual.
cTx* = bTy*
21. Weak Duality
• DLP provides upper bound (in the case of maximization) to
the solution of the PLP.
• Ex) maximum flow vs. minimum cut
• Weak duality : any feasible solution to the primal linear
program has a value no greater than that of any feasible
solution to the dual linear program.
• Lemma : Let x and y be any feasible solution to the PLP and
DLP respectively. Then cTx ≤ yTb.
22. Strong duality : if PLP is feasible and has a finite
optimum then DLP is feasible and has a finite
optimum.
Furthermore, if x* and y* are optimal solutions for
PLP and DLP then cT x* = y*Tb
Strong Duality
23. Four Possible Primal Dual Problems
Dual
Primal Finite optimum Unbounded Infeasible
Finite optimum 1 x x
Unbounded x x 2
Infeasible x 3 4