An S4 class to represent an abstract optimization algorithm.