Help with Finite Math: Max z with Slack/Surplus Vars

  • Thread starter Thread starter mike43414
  • Start date Start date
  • Tags Tags
    Finite
Click For Summary

Homework Help Overview

The discussion revolves around a finite math problem involving linear programming, specifically maximizing a function with constraints using slack and surplus variables. The original poster presents a problem that requires setting up a simplex tableau for optimization.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore the setup of slack variables and the simplex tableau, questioning the original poster's understanding of these concepts. Some participants suggest alternative methods, such as graphing the feasible region, and inquire about the necessity of using the simplex tableau.

Discussion Status

The conversation is ongoing, with some participants providing guidance and resources. There is acknowledgment of the original poster's uncertainty regarding the problem setup, and a participant indicates that the original poster is on the right track but may benefit from additional resources.

Contextual Notes

The original poster mentions that the problem is for a cousin who has missed lectures, indicating a potential lack of foundational knowledge in the subject matter. There is also a note of differing answers from peers, which adds to the uncertainty in the discussion.

mike43414
Messages
2
Reaction score
0
Add slack variables or subtract surplus variables, and set up the initial simplex tableau:

Maximize z = 5x1 + 3x2
subject to:
2x1 + 5x2 ≤ 50
x1 + 3x2 ≤ 25
4x1 + x2 ≤ 18
x1 + x2 ≤ 12
with x1≥0, x2 ≥ 0

Please help.
 
Physics news on Phys.org
Why isn't this in the homework section? And why are you simply stating the problem without showing any work at all? Surely, if you are expected to be able to do a problem like this you must know something about it! What are "slack" variables? How many would you expect this problem to have? What is the "simplex tableau"?

Are you required to use the simplex tableau? Since there are only two variables, graphing the feasible region is the simplest thing to do.
 
Sorry, I didn't realize that there was a homework help section. And it's not my homework, it's my cousin's. She's been in the hospital for the past week and half so she missed quite a few lectures and is having trouble with her homework. I have a degree in mechanical engineering, so everyone in my family assumes that I know almost everything about math (so not true). Well, I'm fairly certain that I've never done a problem like this before (or I just don't remember doing such problems), so I was looking anywhere for help. I read the chapter, and I got some idea of what the answer should be, but I'm just not sure. The chapter is on other ways to solve these kind of problems besides graphing.

We think that the answer to the first part is:
z=5x_1+3x_2
2x_1 + 5x_2 + s_1=50
x_1+3x_2 + s_2=25
4x_1+ x_2+s_3=18
x_1+ x_2 +s_4=12
x_1≥0, x_2≥0, s_1≥0, s_2≥0, s_3≥0, s_4≥0

(_1, _2, etc are subscripts)

And the tableau:
2 5 1 0 0 0 0 50
1 3 0 1 0 0 0 25
4 1 0 0 1 0 0 18
1 1 0 0 0 1 0 12
-5 -3 0 0 0 0 1 0


We're not sure if this is correct since a friend of hers said that she got something different.
 
It looks like you are on the right track, or close to it. Here's a link to a tutorial that might help you out - http://people.hofstra.edu/Stefan_Waner/RealWorld/tutorialsf4/frames4_3.html

With a degree in ME, you might not have had a class in what is called Linear Programming, which includes solving problems like this one using the Simplex Algorithm.
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
21K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 175 ·
6
Replies
175
Views
28K