[Solved] MA3231 Homework 3

$25

File Name: MA3231_Homework_3.zip
File Size: 160.14 KB

SKU: [Solved] MA3231 Homework 3 Category: Tag:
5/5 - (1 vote)
  1. Consider the linear program maxz = 6x1 + 10x2

subject to

x1 + 2x2 5 x1 3 2x2 4 x1, x2 0

Compare the efficiency of the implementation of the simplex algorithm if

  1. You are using the largest positive coefficient for the entering variable (and the lexicographic method for the leaving)
  2. You are using Blands rule
  1. Consider the following linear programming problem:

maxz = 4x1 6x2 + 2x3 + 12x4

subject to

3x1 + 5x2 + 4x3 20 2x1 x3 + x4 15 3x2 + 2x3 + 5x4 30 x1, x2, x3, x4 0

Find the dual program to this linear program.

2

  1. Consider the following dual linear programming problem:

min = 6y1 + 2y2 + 4y3

subject to

2y1 + 3y2 y3 5

y1 + 4y3 10

2y1 + 4y2 14 3y1 2y3 7 y1, y2, y3 0

  1. Rewrite the problem in standard form.
  2. What is the primal problem corresponding to this dual linear program?
  1. Write a MATLAB code which lets you solve both the primal and the dual linear program for different input coefficients aij, bi, cj for i = 1,,4 and j = 1,,4 (You already have the code for the primal LP given a constraint matrix A = (aij), objective coefficient vector f = (c1,,cn), and constraint vector b = (b1,,bm). So you just have to figure out what matrices and vectors to plug into the linprog function when you want to find the dual of this LP).

Using your MATLAB code, try solving different linear programs (and their dual LPs) with different values for the coefficients, in order to find an answer to the following questions:

  • If both the primal and the dual problem have optimal solutions, how do they compare?
  • If the primal problem is infeasible, what is happening with the dual problem?
  • If the primal problem is unbounded, what is happening with the dual problem?
  • If the dual problem is infeasible, what is happening with the primal problem?
  • If the dual problem is unbounded, what is happening with the primal problem?

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] MA3231 Homework 3
$25