An optimal value for math \ alpha / math can be found by using a line search algorithm , that is , the magnitude of math \ alpha / math is determined by finding the value that minimizes S , usually using a line search in the interval math0 \ alpha 1 / math or a backtracking line search such as Armijo-line search .