Commas after and before 'and consequently'

"consequently" is an conjunction, so it really needs to be wrapped by commas. You don't need a comma after "Method A"

The study shows the good results of Method A and ,consequently, the need to apply optimization approaches.