As you know, the null space of a matrix A is the set of vectors that satisfy the homogeneous equation Ax=0.

To find x (as the null space of A), I wrote two optimization models as below. I know, they are simple and straightforward and the solution may not be simply achievable but this is just my first basic idea.

--------------------------------------------------------------------------------------------------

1) Min Z=1

s.t.

sum(j , A(i,j) * x_null (j,m)) = zero(i,m);

where, Z is a dummy variable,

i*j is the dimension of A,

and m is assumed as a known column number of x.

But, the result is always x_null (j,m) = 0.

--------------------------------------------------------------------------------------------------

To deal with this problem, I modified (1) as below.

2) Max Z = sum((j,m) , x_null (j,m))

s.t.

sum(j , A(i,j) * x_null (j,m)) = zero(i,m);

Here, Z is the objective function.

In this model, the solver reports 'unbounded or infeasible'!

--------------------------------------------------------------------------------------------------

Note that, I let i

More Morteza Shabanzadeh's questions See All
Similar questions and discussions