'Returns the problem data used in the call to the solver.
Parameters
solver : str
The solver the problem data is for.
Returns
tuple
arguments to solver'

def get_problem_data(self, solver):

    (objective, constraints) = self.canonicalize()
    SOLVERS[solver].validate_solver(constraints)
    return SOLVERS[solver].get_problem_data(objective, constraints, self._cached_data)
