Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Try our no ads browsing

Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Wiki Math
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Tutor Match Tutoring and Homework Help

Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Buying a book is a commitment to learning Table of content Try our no ads browsing Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

Subject: Re: Linear Programming
Date: Thu, 27 Mar 1997 19:18:43 -0500
From: Alexander Bogomolny

You see James, the problem is I can't give you more than the book you are studying from. I wonder what is wrong with it. Have you ever opened it?

Another problem is that there are several ways to write the tableau. I can't know which one you actually need. What you wrote does not make a lot of sense in any event. I will make a certain assumption. If it's wrong - you'll have to make the effort of looking into a book.

And perhaps for once try also understand what you are trying to accomlish.

Do one thing at a time:

  1. Introduce slack variables:
    	s1 = 4 - x1 + x2
    	s2 = 4 + x1 - x2
    	s3 = 6 - x1 - x2
    
    	Obviously, s1,s2,s3>_ 0
    

    Note, and this is important that x1=x2=0 gives you a feasible vector (x1,x2,s1,s2,s3)=(0,0,4,4,6). It would be extremely useful for you to draw the three lines (from the three inequalities) and figure out what your region actually looks like.

  2. Now, chances are that on this vector your function is not yet maximized. You may want to increase x1 because its coefficient in Z is positive. From the equation for s1 you may only increase x1 to 4 for afterwards s1 will become negative. Rewrite the first equation as
    
    	x1 = 4 + x2 - s1
    

    Here you can start with x2=s1=0. To see what you get eliminate x1 from the other two equations:

    x1 = 4 + x2 - s1 s2 = 8 - s1 s3 = 2 - 2x2 + s1 Z = 2(4 + x2 - s1) - 6x2 = 8 - 4x2 - 2s1
  3. Now in Z all the coefficients are negative. Therefore, you can't to any better. With x2 = s1 = 0, x1 = 4. (s2 = 8, s3 = 2). And this solves the problem.
  4. What you have to understand is that regardless of how you write your tableau, all you do is solving a system of linear equations. Secondly, the tableau below reminds me of the two-step simplex methd. On the first step you find a feasible vector if such one exists. If that's the case, the variables on the left should not have been s1,s2,s3 but something else, say, z1,z2,z3. Your notations do not tell me anything.
  5. Look into the chapter for Gaussian elimination. The basic step of the simplex method is exactly the same.

Good luck.

 

 

Copyright © 1996-2008 Alexander Bogomolny

30864097Page copy protected against web site content infringement by Copyscape


Search:
Keywords:



Latest on CTK Exchange
try this puzzle ?/?? + ?/?? + ?/? ...
Posted by albert1950
5 messages
12:40 PM, Nov-18-08

Help me find Hisashi ABE, Pythago ...
Posted by likesmath
2 messages
11:11 AM, Oct-06-08

Bearing problem
Posted by Liliya
3 messages
11:32 AM, Nov-27-08

What is the smallest rational sqr ...
Posted by MinusOne
4 messages
04:32 PM, Nov-27-08

Three Concurrent Circles
Posted by billmillar
2 messages
12:26 PM, Oct-28-08

A geometry problem from N.A. Court
Posted by tvarhegyi
7 messages
11:48 AM, Nov-27-08

Error in Fractal Curves and Dimen ...
Posted by miguemate22
1 messages
08:51 AM, Nov-16-08