optimization class to be implemented