I have the following problem
A*X=B and X>0
A= matrix(n,12)
B= vector(n)
X= vector(12)
n>>12
A and B are known input matrix and vector, X is the solution vector of the unknown variables.
I tried to solve this problem with the linear equation solver without contraints. But I got some negative answers for X, and in my problem the answer has to be in the positive domain.
I know that MatLab can solve this problem with a optimisation function, for example fmincon.
Now I need to find a constrained linear optimization method that can solve this problem in LabView, without using MatLab.
Is it possible to solve the constrained equation above in LabView?