Linear Programming: how to identify conflicting equations

Click For Summary
SUMMARY

The discussion focuses on identifying conflicting equations in Linear Programming using the Simplex method. Chris inquires about methods to determine which equations contribute to infeasibility and how to optimally reduce the program by removing the fewest equations. It is established that artificial variables (an) should be zero for feasibility, and removing equations with an > 0 is a suggested approach. Additionally, the conversation highlights the potential for conflicting equations to exist even when an = 0, and mentions the use of R and Python packages for visualizing equation interactions.

PREREQUISITES
  • Understanding of Linear Programming concepts
  • Familiarity with the Simplex method
  • Knowledge of artificial variables in optimization
  • Experience with Python and R for data visualization
NEXT STEPS
  • Learn about the Simplex method in detail
  • Explore the use of artificial variables in Linear Programming
  • Investigate R and Python packages for optimization visualization
  • Study techniques for identifying and resolving conflicting constraints
USEFUL FOR

Students and professionals in operations research, data scientists, and anyone involved in optimization problems who seeks to understand conflict resolution in Linear Programming.

cjs94
Messages
16
Reaction score
0
I'm reading about the Simplex method to solve a Linear Program. If a program is rejected as being infeasible, is there a method to identify which equations are causing it to be infeasible and a technique for reducing the program in an optimal way? (I'm not sure what 'optimal' is exactly, but my guess would be removing the fewest equations.)

My understanding is that each equation can have an artificial variable an and that the test for feasibility is that all an must be zero. If so, that leads to some questions:
  1. It would seem obvious then that all I have to do is identify and remove all equations where an > 0. Is that fair?
  2. Is is possible for one or more conflicting equations to end up with an = 0?
  3. Is it possible that an equation, while not causing a direct conflict, constrains two other equations such that they conflict? In that case, removing the first, single equation would be a better solution.
Thanks,
Chris
 
Physics news on Phys.org
There may be a lot of combinations of equations whose removal would make the problem feasible. Just because one running of the Symplex method has a particular set of an > 0 does not mean that the set is unique. If you are looking for any reduced set that would be feasible, removing those an > 0 constraints should do it. But that is very arbitrary and may not be satisfying.
 
There may be some packages with R & Python, which could visualize what is happening between the equations. I am learning about optimization methods, myself. Something to think about - if this is based on a real world situation, then which constraints Can be changed in a reasonable way?

I came across this video, describing using pulp in Python, with optimizing some everyday decisions such as a book reading list or vacation options. Pretty interesting. I downloaded her notebooks from GitHub and ran some for myself. I use Azure Notebooks.
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K