用户: Solution/ 试卷: 数值代数与优化

125 春期末考

第一题, 除矩阵向量运算外, 任何作为解答的算法需要自行实现, 不能直接调用矩阵分解, 线性方程组求解等库函数. 例如, 若将 LU 分解作为解答, 需要自行实现 LU 分解算法, 不得直接调用 MATLAB 自带 [L,U]=lu(A) 函数.

第二题, 允许调用矩阵分解等库函数, 但不允许直接调用优化求解器.

一、

Given a symmetric matrix . We look for a unitary matrix such that, where denotes an unspecified block of the matrix. The matrix given in the dataset is .

(1) (10 pt)

Give an if-and-only-if condition on such that the unitary matrix exists.

(2) (10 pt)

Assume could be embedded into a unitary matrix , where the size of is a power of , i.e., for some integer . Design a unitary matrix .

(3) (20 pt)

Design an algorithm taking as the input and compute the application of on a given vector.

[Your algorithm should include factorization of . The algorithm could be tailored to the specific structure of in the dataset.]

(4) (10 pt)

Let be the size of . Embed into of size . Write the value of for each in the dataset, where is a zero column vector with at the -th position.

二、

Given two nonsingular matrix and with , a weight vector , and a vector . Consider the following linear program,

(1) (10 pt)

Write the KKT condition for above system.

(2) (20 pt)

Design and implement an algorithm to solve the linear program.

[The algorithm could be tailored to the specific structure of matrices in the dataset.]

(3) (5 pt)

Based on the given datasets, analyze the computational complexity, and give a complexity upper bound for your designed algorithm.

(4) (15 pt)

Apply the designed algorithm to given matrices. Write the minimum objective values.

[Keep 6 decimal digits in your answer.]