ArticleslgStudy

computer science

Minimum relevant variables in linear system

Minimum relevant variables in linear system is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Minimum relevant variables in linear system rather than just read about it. In short: Minimum relevant variables in linear system (Min-RVLS) is a problem in mathematical optimization. Given a linear program, it is required to find a feasible solution in which the number of non-zero variables is as small as possible.

Key takeaways

  • Minimum relevant variables in linear system belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Minimum relevant variables in linear system to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Minimum relevant variables in linear system from memory before moving on to harder problems.

Reference excerpt

Minimum relevant variables in linear system (Min-RVLS) is a problem in mathematical optimization. Given a linear program, it is required to find a feasible solution in which the number of non-zero variables is as small as possible. The problem is known to be NP-hard and even hard to approximate.

Definition A Min-RVLS problem is defined by:

A binary relation R, which is one of {=, ≥, >, ≠}; An m-by-n matrix A (where m is the number of constraints and n the number of variables); An m-by-1 vector b. The linear system is given by: A x R b. It is assumed to be feasible (i.e., satisfied by at least one x). Depending on R, there are four different variants of this system: A x = b, A x ≥ b, A x > b, A x ≠ b. The goal is to find an n-by-1 vector x that satisfies the system A x R b, and subject to that, contains as few as possible nonzero elements.

Special case The problem Min-RVLS[=] was presented by Garey and Johnson, who called it "minimum weight solution to linear equations". They proved it was NP-hard, but did not consider approximations.

Applications The Min-RVLS problem is important in machine learning and linear discriminant analysis. Given a set of positive and negative examples, it is required to minimize the number of features that are required to correctly classify them. The problem is known as the minimum feature set problem. An algorithm that approximates Min-RVLS within a factor of O ( log ⁡ ( m ) ) {\displaystyle O(\log(m))} could substantially reduce the number of training samples required to attain a given accuracy level. The shortest codeword problem in coding theory is the same problem as Min-RVLS[=] when the coefficients are in GF(2).

Related problems In minimum unsatisfied linear relations (Min-ULR), we are given a binary relation R and a linear system A x R b, which is now assumed to be infeasible. The goal is to find a vector x that violates as few relations as possible, while satisfying all the others. Min-ULR[≠] is trivially solvable, since any system with real variables and a finite number of inequality constraints is feasible. As for the other three variants:

Min-ULR[=,>,≥] are NP-hard even with homogeneous systems and bipolar coefficients (coefficients in {1,-1}). The NP-complete problem Minimum feedback arc set reduces to Min-ULR[≥], with exactly one 1 and one -1 in each constraint, and all right-hand sides equal to 1. Min-ULR[=,>,≥] are polynomial if the number of variables n is constant: they can be solved polynomially using an algorithm of Greer in time O ( n ⋅ m n / 2 n − 1 ) {\displaystyle O(n\cdot m^{n}/2^{n-1})} . Min-ULR[=,>,≥] are linear if the number of constraints m is constant, since all subsystems can be checked in time O(n). Min-ULR[≥] is polynomial in some special case. Min-ULR[=,>,≥] can be approximated within n + 1 in polynomial time. Min-ULR[>,≥] are minimum-dominating-set-hard, even with homogeneous systems and ternary coefficients (in {−1,0,1}). Min-ULR[=] cannot be approximated within a factor of 2 log 1 − ε ⁡ n {\displaystyle 2^{\log ^{1-\varepsilon }n}} , for any ε > 0 {\displaystyle \varepsilon >0} , unless NP is contained in DTIME( n polylog ⁡ ( n ) {\displaystyle n^{\operatorname {polylog} (n)}} ). In the complementary problem maximum feasible linear subsystem (Max-FLS), the goal is to find a maximum subset of the constraints that can be satisfied simultaneously.

Max-FLS[≠] can be solved in polynomial time. Max-FLS[=] is NP-hard even with homogeneous systems and bipolar coefficients. . With integer coefficients, it is hard to approximate within m ε {\displaystyle m^{\varepsilon }} . With coefficients over GF[q], it is q-approximable. Max-FLS[>] and Max-FLS[≥] are NP-hard even with homogeneous systems and bipolar coefficients. They are 2-approximable, but they cannot be approximated within any smaller constant factor.

Hardness of approximation All four variants of Min-RVLS are hard to approximate. In particular all four variants cannot be approximated within a factor of 2 log 1 − ε ⁡ n {\displaystyle 2^{\log ^{1-\varepsilon }n}} , for any ε > 0 {\displaystyle \varepsilon >0} , unless NP is contained in DTIME( n polylog ⁡ ( n ) {\displaystyle n^{\operatorname {polylog} (n)}} ). The hardness is proved by reductions:

There is a reduction from Min-ULR[=] to Min-RVLS[=]. It also applies to Min-RVLS[≥] and Min-RVLS[>], since each equation can be replaced by two complementary inequalities. There is a reduction from minimum-dominating-set to Min-RVLS[≠]. On the other hand, there is a reduction from Min-RVLS[=] to Min-ULR[=]. It also applies to Min-ULR[≥] and Min-ULR[>], since each equation can be replaced by two complementary inequalities. Therefore, when R is in {=,>,≥}, Min-ULR and Min-RVLS are equivalent in terms of approximation hardness.

References

Worked examples

Example 1 — a first encounter with Minimum relevant variables in linear system

Start with the simplest possible case. Write down what Minimum relevant variables in linear system claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Minimum relevant variables in linear system before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Minimum relevant variables in linear system ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Minimum relevant variables in linear system

In research
Minimum relevant variables in linear system appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Minimum relevant variables in linear system in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Minimum relevant variables in linear system is common in secondary-school and first-year university syllabi. It links to neighbouring topics Approximation algorithms, Combinatorial optimization, Linear programming, so understanding it makes those chapters shorter.
In everyday life
Look for Minimum relevant variables in linear system outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Minimum relevant variables in linear system in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Minimum relevant variables in linear system means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Minimum relevant variables in linear system out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Minimum relevant variables in linear system in simple terms?

Minimum relevant variables in linear system (Min-RVLS) is a problem in mathematical optimization. Given a linear program, it is required to find a feasible solution in which the number of non-zero variables is as small as possible.

Why does Minimum relevant variables in linear system matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Minimum relevant variables in linear system?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Minimum relevant variables in linear system.

Tags

  • Approximation algorithms
  • Combinatorial optimization
  • Linear programming
  • NP-hard problems

Keep exploring