1
是否有可能使用Accelerate/LAPACK解決一個非方形under/over約束矩陣?如下面的兩個矩陣。如果任何變量受到約束,它們應該等於0而不是無限。是否有可能使用Accelerate/LAPACK解決一個非方形under/over約束矩陣?
所以在受到約束的情況下:A,D & E會等於0,而B,C & F等於-1。
在約束情況下,所有變量都等於-1。
欠約束:
____ ____
| (A) (B) (C) (D) (E) (F) |
| -1 0 0 1 0 0 | 0 |
| 1 0 0 0 -1 0 | 0 |
| 0 -1 1 0 0 0 | 0 |
| 0 1 0 0 0 -1 | 0 |
| 0 1 0 0 0 0 | -1 |
|____ ____|
過約束:
____ ____
| |
| -1 0 0 1 0 0 | 0 |
| 1 0 0 0 -1 0 | 0 |
| 0 -1 1 0 0 0 | 0 |
| 0 1 0 0 0 -1 | 0 |
| 0 1 0 0 0 0 | -1 |
| 0 0 1 -1 0 0 | 0 |
| 1 -1 0 0 0 0 | 0 |
|____ ____|
試圖找到我從大學的差異書籍的審查,但沒有,所以我想記住如何做到這一切,因爲我去。抱歉。同樣thx的答案 – John 2010-11-30 22:54:34