Professional Documents
Culture Documents
BCAC403 ClassNote Module-2
BCAC403 ClassNote Module-2
BCAC403 ClassNote Module-2
Study Material
Optimization Techniques
BCAC403
Module-2
_________________________________________________________________________________
Table of Contents
6 2.6 Duality 34
7 2.7 Relationship between primal and dual problem in 35
Operation Research
8 2.8 Mathematical formulation of dual 37
9 2.9 Types of Primal-Dual Problem 38
Department of Mathematics
Brainware University, Kolkata 1
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Module 2
Linear programming problems (LPP) can be solved graphically by using the following steps:
1. Formulate the problem: The problem should be formulated in terms of constraints and objective
function.
2. Plot the constraints: Plot the constraints as lines or curves on a graph. The constraints may be
inequalities or equations.
3. Identify feasible region: The feasible region is the region on the graph that satisfies all the constraints.
It is the intersection of all the constraint lines.
4. Identify the optimal solution: The optimal solution is the point within the feasible region that
maximizes or minimizes the objective function.
5. Check the boundary points: If the optimal solution falls on a boundary point of the feasible region, it
must be checked against the values of the objective function at other boundary points to ensure that
it is indeed optimal.
Maximize: Z = 3x + 4y
Subject to:
2x + y ≤ 10
x + 2y ≤ 12
x, y ≥ 0
1.Formulate the problem: The objective is to maximize Z = 3x + 4y subject to the given constraints.
2. Plot the constraints: Plot the two constraints as lines on a graph. To plot the first constraint, 2x
+ y ≤ 10, rewrite it as y ≤ -2x + 10 and plot the line with a slope of -2 and y-intercept of 10. To plot
Department of Mathematics
Brainware University, Kolkata 2
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
the second constraint, x + 2y ≤ 12, rewrite it as y ≤ -1/2x + 6 and plot the line with a slope of -1/2
and y-intercept of 6.
3. Identify feasible region: The feasible region is the shaded area on the graph that satisfies both the
constraints.
4. Identify the optimal solution: The optimal solution is the corner point of the feasible region that
maximizes Z. In this case, the corner point is (4, 4), which satisfies both constraints and maximizes
Z.
5.Check the boundary points: The boundary points of the feasible region are (0, 5), (6, 0), and (4, 4).
To ensure that the optimal solution is indeed optimal, we need to check the values of Z at these points.
We find that Z = 20 at (4, 4), Z = 15 at (0, 5), and Z = 18 at (6, 0). Therefore, the optimal solution is
indeed (4, 4).
In conclusion, the optimal solution to the LPP is (4, 4) with the maximum value of Z = 3(4) + 4(4) =
20, which is obtained by solving the problem graphically.
Department of Mathematics
Brainware University, Kolkata 3
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Infeasible Solution.
Subject to
2𝑥 + 4𝑦 ≥ 16
𝑥 + 5𝑦 ≥ 15
𝑥, 𝑦 ≥ 0
Department of Mathematics
Brainware University, Kolkata 4
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Unbounded Solution.
Algebraic methods are commonly used in linear programming to solve optimization problems. Linear
programming is a mathematical technique that is used to determine the best outcome in a situation
where there are multiple possible outcomes, and where the relationships between inputs and outputs
are linear.
To apply algebraic methods in linear programming, we typically begin by formulating the problem as
a system of linear inequalities or equations. This involves identifying the decision variables, the
objective function to be maximized or minimized, and the constraints that limit the feasible region of
the solution space.
Once the problem has been formulated, we can use algebraic methods to solve the system of equations
or inequalities. This typically involves using techniques such as Gaussian elimination, substitution, or
graphing to find the optimal solution that satisfies all of the constraints.
In some cases, algebraic methods may not be sufficient to solve more complex linear programming
problems. In such cases, other techniques such as simplex method, duality theory, or interior point
methods may be used to find optimal solutions.
Ex:
Department of Mathematics
Brainware University, Kolkata 5
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
4𝑥1 + 3𝑥2 ≤ 24
𝑥1 , 𝑥2 ≥ 0
Solution:
4𝑥1 + 3𝑥2 + 𝑥4 = 24
And 𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 ≥ 0
3 𝑥1 , 𝑥4 𝑥2 , 𝑥3 𝑥1 = 7, 𝑥4 infeasible
= −4
4 𝑥2 , 𝑥3 𝑥1 , 𝑥4 𝑥2 = 8, 𝑥3 infeasible
= −3
6 𝑥1 , 𝑥2 𝑥3 , 𝑥4 𝑥1 = 3, 𝑥2 Z=66 Basic
=4 feasible(optimum)
Department of Mathematics
Brainware University, Kolkata 6
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Ex:
𝑀𝑖𝑛 𝑍 = 7𝑥1 + 5𝑥2
s.t 𝑥1 + 𝑥2 ≥ 4
5𝑥1 + 2𝑥2 ≥ 10
𝑥1 , 𝑥2 ≥ 0
Solution:
s.t 𝑥1 + 𝑥2 − 𝑥3 = 4
5𝑥1 + 2𝑥2 − 𝑥4 = 10
And 𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 ≥ 0
Department of Mathematics
Brainware University, Kolkata 7
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
5 𝑥2 , 𝑥4 𝑥1 , 𝑥3 𝑥2 = 4, 𝑥4 Z=63 infeasible
= −2
6 𝑥1 , 𝑥2 𝑥3 , 𝑥4 𝑥1 = 2/3, 𝑥2 Z=64/3 Basic
= 10/3 feasible(optimum)
The simplex method is a widely used algorithm for solving linear programming problems. It is an
iterative method that starts with an initial feasible solution and then improves it in each iteration until
an optimal solution is found.
The algorithm works by selecting a variable to enter the basis (i.e., to become a basic variable) and
another variable to leave the basis (i.e., to become a non-basic variable). This is done in a way that
improves the objective function while maintaining the feasibility of the solution. The process is
repeated until no further improvement can be made, at which point an optimal solution has been found.
The simplex method is based on the concept of a simplex, which is a higher-dimensional version of a
triangle or a tetrahedron. The feasible region of a linear programming problem can be represented as
a convex polyhedron, and the simplex method works by moving from one vertex of the polyhedron to
another in a way that improves the objective function.
There are several variants of the simplex method, such as the revised simplex method and the dual
simplex method, which are designed to improve the efficiency of the algorithm or to handle certain
types of problems more effectively.
The steps involved in the simplex method are as follows (COMPUTATIONAL PROCEDURE)
1. Convert the problem into standard form: The objective function and constraints must be
expressed in terms of non-negative variables. If any variables have negative coefficients, they
must be multiplied by -1 to make them positive.
2. Formulate the initial tableau: The initial tableau is a matrix that contains the coefficients of the
variables and the right-hand side constants of the constraints. It also includes the slack variables
and the objective function coefficients.
Department of Mathematics
Brainware University, Kolkata 8
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
3. Choose a pivot element: Select an element in the tableau as the pivot element. This element is
usually chosen to be the one with the largest positive coefficient in the objective row or the
one with the smallest positive ratio of the right-hand side constant to the pivot column
coefficient.
4. Perform row operations: Use row operations to transform the pivot row and pivot column into
an identity column and row, respectively. All other elements in the pivot column are zeroed
out.
5. Update the tableau: Update the tableau by replacing the pivot element with the variable that
corresponds to the row and column of the pivot element.
6. Repeat steps 3-5 until an optimal solution is found: Continue to choose pivot elements and
perform row operations until the objective function can no longer be improved or until some
other stopping criterion is met.
7. Interpret the solution: Once an optimal solution has been found, it must be interpreted in the
context of the problem to determine its meaning and usefulness.
Ex:
𝑥1 , 𝑥2 ≥ 0
Department of Mathematics
Brainware University, Kolkata 9
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 10
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Negative minimum 𝑍𝑗 − 𝑐𝑗 is -7 and its column index is 2. SO, the entering variable is 𝑥2 . Minimum
ratio is 500 and its row index is 3. So the leaving basis variable is 𝑠3 .
𝑅3 (New)= 𝑅3 (Old) /4
Department of Mathematics
Brainware University, Kolkata 11
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 12
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 13
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 14
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 15
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 16
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 17
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 18
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 19
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 20
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 21
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 22
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 23
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Charnes' Big-M Methods are mathematical techniques used in linear programming to handle
non-standard constraints efficiently. Developed by William W. Charnes, these methods extend the
Simplex algorithm by introducing artificial variables and penalty terms represented by a large constant,
'M'. They are particularly useful for transforming constraints involving inequalities into standard form,
enabling the application of the Simplex algorithm. By guiding the algorithm towards feasible and
optimal solutions, Charnes' Big-M Methods enhance problem-solving efficiency and expand the scope
of linear programming applications.
Ex:
Subject to
𝑥1 + 𝑥2 ≥ 2
2𝑥1 + 𝑥3 ≥ 5
and 𝑥1 , 𝑥2 , 𝑥3 ≥ 0
Department of Mathematics
Brainware University, Kolkata 24
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 25
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 26
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Ex:
𝑀𝑎𝑥 𝑍 = −4𝑥1 − 𝑥2
Subject to
3𝑥1 + 𝑥2 = 3
4𝑥1 + 3𝑥2 ≥ 6
𝑥1 + 2𝑥2 ≤ 4
and 𝑥1 , 𝑥2 ≥ 0
Department of Mathematics
Brainware University, Kolkata 27
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 28
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 29
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 30
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 31
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Ex:
𝑀𝑎𝑥 𝑍 = 2𝑥1 + 9 𝑥2 + 𝑥3
Subject to
𝑥1 + 4𝑥2 + 2 𝑥3 ≥ 5
3𝑥1 + 𝑥2 + 2 𝑥3 ≥ 4
and 𝑥1 , 𝑥2 , 𝑥3 ≥ 0
Department of Mathematics
Brainware University, Kolkata 32
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 33
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 34
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
2.6 Duality
In the context of Operations Research (OR), duality is a fundamental concept that plays a crucial role
in optimizing and understanding various mathematical models. OR is a multidisciplinary field that
uses mathematical methods, algorithms, and analytical techniques to make better decisions in complex
systems and processes.
The duality theory in linear programming establishes a close relationship between two related
optimization problems: the primal problem and the dual problem. Let's explore these two aspects:
1. Primal Problem: This is the original linear programming problem that seeks to maximize or
minimize an objective function while adhering to a set of linear constraints. The objective is to
find the optimal solution, which represents the best possible value of the objective function.
2. Dual Problem: The dual problem is derived from the primal problem and involves the inversion
of the optimization goals. If the primal problem seeks to maximize an objective function, the
dual problem seeks to minimize another function, subject to its own set of constraints. The dual
problem's constraints are often associated with the variables in the primal problem.
The principle of duality states that the optimal objective function value in the primal problem
is equal to the optimal objective function value in the dual problem. This equivalence is known
as the "duality theorem" and is a cornerstone of linear programming. Additionally, the optimal
solutions for both the primal and dual problems are related through the concept of
complementary slackness.
1. Sensitivity Analysis: The dual problem provides valuable insights into the sensitivity of the
primal problem's optimal solution to changes in the objective function coefficients and
Department of Mathematics
Brainware University, Kolkata 35
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
constraints. It helps analysts understand how much the optimal solution will change with
variations in the problem's parameters.
2. Economic Interpretation: In certain applications, the dual variables in the dual problem have
economic interpretations, such as shadow prices or opportunity costs. These interpretations
offer valuable information about the marginal value of resources and the impact of constraint
changes.
3. Efficient Solution Techniques: Solving the dual problem can sometimes lead to more efficient
algorithms for solving the primal problem, especially in large-scale linear programming
scenarios.
Overall, duality in Operations Research is a powerful and elegant concept that provides deeper
insights into the structure of linear programming problems and facilitates better decision-
making by understanding the trade-offs between various objectives and constraints.
In Operations Research, the relationship between the primal and dual problems is established
through the concept of duality in linear programming. The primal problem and the dual
problem are two related optimization problems derived from the same linear programming
model. Let's explore the key aspects of their relationship:
1. Objective Function: The primal problem seeks to maximize or minimize an objective function.
Let's denote the objective function as "Z" in the primal problem.The dual problem involves
finding the "dual objective function" (denoted as "W") associated with the constraints of the
primal problem.
2. Constraints: The primal problem involves a set of linear inequalities or equations that represent
constraints on the decision variables. The dual problem is formulated using the constraints of
the primal problem and introduces "dual variables" (also known as "shadow prices" or
"Lagrange multipliers") to each constraint. These dual variables are associated with the
resource availability or the cost of violating each constraint.
3. Formulation: The formulation of the primal problem and the dual problem is such that the dual
problem is derived from the primal problem. The duality principle states that for any linear
Department of Mathematics
Brainware University, Kolkata 36
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
programming problem, there exists a corresponding dual problem, and their optimal objective
values are equal.
4. Duality Theorem: The duality theorem is a key result in linear programming, and it establishes
the relationship between the optimal objective values of the primal and dual problems. It states
that the optimal value of the primal objective function (Z*) is equal to the optimal value of the
dual objective function (W*). Mathematically, this can be represented as Z* = W*.
5. Complementary Slackness: The concept of complementary slackness is a critical aspect of
duality in linear programming. It states that if a decision variable in the primal problem is
positive (i.e., it is part of the optimal solution), then the corresponding dual constraint's dual
variable is zero. Similarly, if a dual variable is positive (non-zero), the corresponding primal
constraint's slack (the difference between the left-hand side and right-hand side of the
constraint) is zero.
6. Economic Interpretation: The dual variables in the dual problem often have an economic
interpretation, such as shadow prices or opportunity costs. These interpretations provide
valuable insights into the marginal value of resources or constraints in the original problem.
Overall, the relationship between the primal and dual problems in Operations Research is a
powerful concept that enables analysts to gain deeper insights into the structure of linear
programming models. The duality principle allows for efficient solution techniques, sensitivity
analysis, and economic interpretations, facilitating better decision-making and understanding
of the trade-offs between objectives and constraints.
Primal Dual
Maximize z Minimize w
Minimize z Maximize w
Coefficients of the objective function Availabilities of constraints
Availabilities of constraints Coefficients of the objective function
n variables(𝑥1 , 𝑥2 , … , 𝑥𝑛 ) n constraints
m constraints m variables(𝑤1 , 𝑤2 , … , 𝑤𝑚 )
Department of Mathematics
Brainware University, Kolkata 37
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
𝑀𝑎𝑥 𝑧𝑥 = cX
Subject 𝐴𝑋 ≤ 𝑏
𝑋≥0
𝑀𝑖𝑛 𝑧𝑤 = 𝑏 𝑡 𝑊
Subject 𝐴𝑡 𝑊 ≥ 𝑐 𝑡
𝑊≥0
Where 𝐴𝑡 , 𝑏 𝑡 , 𝑐 𝑡 are transpose of the matrices A, b, c respectively.
Department of Mathematics
Brainware University, Kolkata 38
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Department of Mathematics
Brainware University, Kolkata 39
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Group –A
a. the general LPP with m constraints in n b. A basic solution that satisfies all the
𝑛 constraints and non-negative restrictions
unknowns(m<n) give (𝑚 )basic solutions
is called a basic feasible solution
a. A basic solution in which at least one d. The basic feasible solution which
basic variables vanishes is zero is called a maximizes or minimizes the objective
non-degenerate basic solution function is called an optimum basic
feasible solution.
Examine the correct one----Graphical method is useful to solve the LPP, when there
2 are
a.it provides general way to solve b.it does not provide unbounded solution
linear programming problems
Department of Mathematics
Brainware University, Kolkata 40
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
c. must satisfy all the constraints of d. need not satisfy all the constraints,
the LPP simultaneously only some of them.
c.An infinite number of solutions d.a boundary line of the feasible region.
all of which yield the same cost.
a.negative b.non-negative
c.zero d.non-positive
Department of Mathematics
Brainware University, Kolkata 41
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Determine the correct one----------A necessary and sufficient condition for a basic
10 feasible solution to a minimization LPP to be an optimum is that (for all j) for 𝑧𝑗 − 𝑐𝑗 :
a.𝑧𝑗 − 𝑐𝑗 ≥ 0 b. 𝑧𝑗 − 𝑐𝑗 ≤ 0
c. 𝑧𝑗 − 𝑐𝑗 = 0 d. 𝑧𝑗 − 𝑐𝑗 > 0 or 𝑧𝑗 − 𝑐𝑗 < 0
At any iteration of the usual simplex method of maximization LPP, if there is at least
one basic variable in the basis at zero level and all 𝑧𝑗 − 𝑐𝑗 ≥ 0 , the current solution is-
11 -----Determine the correct one.
a. Infeasible b.unbounded
c.non-degenerate d.degenerate
X1 + X2≤4
2X1 + X2 ≤ 6
X1, X2 ≥ 0
a. 24 b. 26
c. 28 d. 30
Select the constraint represent in graphical methods for solving linear programming
13
problems
Department of Mathematics
Brainware University, Kolkata 42
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
a. A line b. A point
c. A region d. A variable
14 Select the correct option. A constraint that does not affect the feasible region is a
Predict the graphical method technique that can be used to find the feasible region in
15
linear programming.
a. Slope-intercept method b. Boundary method
a. a solution for which all the constraints b. a solution for which at-least one of the
(including non-negative restrictions) of a constraints of an LPP is violated.
LPP are satisfied.
C. a solution that can increase or decrease d. none of these.
infinitely the value of the objective function
value
In final (optimum) simplex tableau, if 𝑧𝑗 − 𝑐𝑗 = 0 for at least one non-basic variable,
then determine the solution.
17
c. A region d. A variable
19 Using graphical methods to solve linear programming problems with two decision
Department of Mathematics
Brainware University, Kolkata 43
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
c. 3 d. None of these
20 In graphical methods, examine the identification of optimal solution from the following:
Group – B
x1 4 x2 x3 5
2 x1 3x2 x3 8
Department of Mathematics
Brainware University, Kolkata 44
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
5 Using graphical method, determine that the following L.P.P has no solution.
Maximize z 4 x 3 y
subject to x 4 y 3
3x y 12
x, y 0
6 Examine the following linear programming problem by graphical method.
MAX 𝑍 = 10𝑥1 + 15𝑥2
subject to
10𝑥1 + 5𝑥2 ≤ 10
6𝑥1 + 3𝑥2 ≤ 12
and 𝑥1 , 𝑥2 ≥ 0
7 Examine the solution of the following linear programming problem by Graphical method
Maximize z = –x + y
subject to: 3x + y≥ 6
2x + y ≤3
x, y ≥0
8 Using graphical method to illustrate the solution of the following L.P.P.
Max Z=60𝑥 + 50𝑦
Subject to,
𝑥 + 2𝑦 ≤ 40
3𝑥 + 2𝑦 ≤ 60
𝑥, 𝑦 ≥ 0
9 Explain the following terms:
(i) Basic solution
(ii) Basic feasible solution
Department of Mathematics
Brainware University, Kolkata 45
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
1 Apply simplex methods to identify the optimal solution of the following L.P.P
Max z =3x1+x2+3x3
Subject to the constraint
2x1+x2+x3 ≤ 2
x1+2x2+3x3 ≤ 5
for x1,x2,x3 ≥ 0
Department of Mathematics
Brainware University, Kolkata 46
Bachelor of Computer Applications and 4th semester
Optimization Techniques (BCAC403)
BCA
2023-2024
Maximize z 3x1 x2 2 x3 x4
Subject to
2 x1 x2 3x3 x4 1
x1 x2 x3 x4 3
𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 ≥ 0
𝑥1 , 𝑥2 , ≥ 0, 𝑥3 is unrestricted.
9 Consider the LPP
𝑀𝑎𝑥 𝑧 = 𝑥1 + 𝑥2
s.t 𝑥1 + 2𝑥2 ≤ 2000, 𝑥1 + 𝑥2 ≤ 1500, 𝑥2 ≤ 600,
and 𝑥1 , 𝑥2 ≥0
Department of Mathematics
Brainware University, Kolkata 47