CE3102: Numerical Analysis for Engineering
Computer Engineering
Semester II - 2019
- This problem should be developed in Python.
- The task is to implement the iterative Block Coordinate Descent (BCD) method to find a solution to the optimization problem:
where 
- Implement both the sequential and parallel versions of the BCD method to solve the optimization problem:
where 
- In both implementations, the initial value should be $x^{(0)} = (1, 1, \dots, 1)^T \in \mathbb{R}^{50}$ . Additionally, the algorithm should stop when the condition$|\nabla f(x^{(k)})| \leq 10^{-5}$ is met.
- The main file executing the sequential solution should be named bcd_sequential.py. The main file executing the parallel solution should be namedbcd_parallel.py. Each file should generate an error plot of the number of iterations$k$ versus the error$|\nabla f(x^{(k)})|$ .