home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / sci / math / numanal / 3344 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  2.4 KB

  1. Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!umn.edu!mmm.serc.3m.com!mmc.mmmg.com!timbuk.cray.com!walter.cray.com!jwg
  2. From: jwg@sparcman.cray.com (John Gregory)
  3. Newsgroups: sci.math.num-analysis
  4. Subject: Re: question: how to show that a set of linear inequalities is consistent?
  5. Message-ID: <1992Nov18.091337.23934@walter.cray.com>
  6. Date: 18 Nov 92 15:13:36 GMT
  7. References: <batra.722077145@beagle>
  8. Reply-To: jwg@sparcman.cray.com (John Gregory)
  9. Organization: Cray Research, Inc.
  10. Lines: 37
  11. Nntp-Posting-Host: sparcman.cray.com
  12.  
  13.  
  14. In article <batra.722077145@beagle>, batra@boulder.Colorado.EDU (sajeev batra) writes:
  15. |> hi,
  16. |> 
  17. |> I have a large set of  linear inequalities (with about a 20 unknowns)
  18. |> and I am about to use linear programming to solve for them.
  19. |> Is there an algorithm that will tell me that my set is consistent or
  20. |> inconsistent?  
  21.  
  22. Finding out whether a set of inequalities is consistent is on average
  23. about half the work of solving the entire LP.  Unless there is some special
  24. characteristic of your model that allows a priori analysis, there are no simple shortcuts that will give you what you want.  One proves a set is consistent
  25. by finding a feasible solution;  one proves it's inconsistent by showing that
  26. no feasible solution exists.  In either case an LP algorithm (probably the Simplex method) is your best bet.
  27.  
  28. |> Also, I need to know specifically which inequalities
  29. |> contradict each other.  How do I go about doing this?  Any suggestions?
  30.  
  31. This question really is not as well-posed as you may think.  If a group
  32. of inequalities is inconsistent (infeasible), there may be many ways of
  33. removing a few to give a feasible set.  It's not likely you can point at
  34. one or two and say "those are the culprits". One technique that comes to 
  35. mind is goal-programming.  There are several ways people implement this, 
  36. but one of the simplest is to add to each row an extra slack variable that
  37. has a huge but meaningful cost of violating that constraint.  The model
  38. is now feasible, since at a large cost the solver can just put in the new
  39. slacks.  If the costs you assign are physically meaningful, then the
  40. Simplex method will find the least costly way to violate as few constraints
  41. as possible.
  42.  
  43. There is a recognized expert in the field of LP, Fred Glover, who is at
  44. the University of Colorado at Boulder.  You may find it beneficial to
  45. try to talk over your ideas with him.
  46.  
  47. - John Gregory
  48.   Applications Dept.
  49.   Cray Research, Inc.
  50.