Correct option is (b) optimization method
Best explanation: The least-square method is based on an optimization procedure. This optimization carried over a function which is a function of the weight used, the gradients and the grid sizes in the x, y and z-directions.