MHB Are all the basic feasible solutions accepted?

  • Thread starter Thread starter evinda
  • Start date Start date
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)The following linear programming problem is given:

$$\max{(x_1-x_2)} \\ x_1+x_2 \leq 4 \\ 2x_1-x_2 \geq 2 \\ x_1, x_2 \geq 0$$

Write it in its canonical form and find its vertices.

I have tried the following:

The linear programming problem can be written in its canonical form as follows:

$$\max{(x_1-x_2)} \\ x_1+x_2+x_3=4 \\ 2x_1-x_2-x_4=2 \\ x_1, x_2, x_3, x_4 \geq 0$$

$A=\begin{bmatrix}
1 &1 & 1 & 0\\
2 & -1 & 0 &-1
\end{bmatrix}$

$r(A)=2$, $P_1=\begin{bmatrix}
1\\
2
\end{bmatrix}, P_2=\begin{bmatrix}
1\\
-1
\end{bmatrix}, P_3= \begin{bmatrix}
1\\
0
\end{bmatrix}, P_4=\begin{bmatrix}
0\\
-1
\end{bmatrix}$

and the problem can be written equivalently as follows:

$$\max{ (x_1-x_2) } \\ P_1 x_1+ P_2 x_2+ P_3 x_3+ P_4 x_4= \begin{bmatrix}
4\\
2
\end{bmatrix} \\ x_j \geq 0, j=1,2,3,4$$From the equations we get that $0 \leq x_1 \leq 4, 0 \leq x_2 \leq 4, 0 \leq x_3 \leq 4, 0 \leq x_4 \leq 8$ and thus the set of feasible solutions is bounded.
  • $P_1, P_2$ are linearly independent.

    We solve the system $P_1 x_1+P_2 x_2= \begin{bmatrix}
    4\\
    2
    \end{bmatrix}$ and we get $x_1=x_2=2$.

    $(2,2,0,0) $ -> basic feasible solution
  • $P_1, P_3$ are linearly independent.

    We solve the system $P_1 x_1+P_3 x_3= \begin{bmatrix}
    4\\
    2
    \end{bmatrix}$ and we get $x_2=x_3=2$.

    $(2,0,2,0) $ -> basic feasible solution
  • $P_1, P_4$ are linearly independent.

    We solve the system $P_1 x_1+P_4 x_4= \begin{bmatrix}
    4\\
    2
    \end{bmatrix}$ and we get $x_1=4, x_4=6$.

    $(4,0,0,6) $ -> basic feasible solution
  • $P_2, P_3$ are linearly independent.

    We solve the system $P_2 x_2+P_3 x_3= \begin{bmatrix}
    4\\
    2
    \end{bmatrix}$ and we get $x_1=-2, x_3=3$, which does not give a basic faesible solution.
  • $P_2, P_4$ are linearly independent.

    We solve the system $P_2 x_2+P_4 x_4= \begin{bmatrix}
    4\\
    2
    \end{bmatrix}$ and we get $x_2=4, x_4=-6$, which does not give a basic faesible solution.
  • $P_3, P_4$ are linearly independent.

    We solve the system $P_3 x_3+P_4 x_4= \begin{bmatrix}
    4\\
    2
    \end{bmatrix}$ and we get $x_3=4, x_4=-2$, which does not give a basic faesible solution.
Is the above right? Or can't we accept for example $(2,0,2,0)$ as a basic feasible solution since $x_3$ doesn't appear at the function that we want to maximize? (Thinking)
 
Physics news on Phys.org
evinda said:
Is the above right? Or can't we accept for example $(2,0,2,0)$ as a basic feasible solution since $x_3$ doesn't appear at the function that we want to maximize? (Thinking)

Hey evinda! (Smile)

All is well.
It it normal that not all variables appear in the objective function. (Mmm)
 
I like Serena said:
Hey evinda! (Smile)

All is well.
It it normal that not all variables appear in the objective function. (Mmm)

So the maximum of the objective function is $4$ and is achieved for the basic feasible solution $(4,0,0,6)$, right? (Thinking)
 
evinda said:
So the maximum of the objective function is $4$ and is achieved for the basic feasible solution $(4,0,0,6)$, right? (Thinking)

Right! (Nod)
 
I like Serena said:
Right! (Nod)

Nice... Thank you! (Smirk)
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...

Similar threads

Replies
32
Views
5K
Replies
6
Views
1K
Replies
4
Views
2K
Replies
6
Views
2K
Replies
1
Views
1K
Replies
4
Views
3K
Replies
12
Views
4K
Back
Top