Which would be the best method of training?

Sort:
Cynicalism

A. Playing against people of equal/higher rank and analyzing the game afterwards

B. Playing against a hard computer (ex: carlsen app) and analyzing the game afterwards

TournamentPlayer

Playing people for sure, as the higher rated oppoenets can give  you ideas as to why you lost and how to improve.