In case of multiple inheritance, cplex callback class should be derived from first.