'Converts the solver output into standard form.
Parameters
results_dict : dict
The solver output.
data : dict
Information about the problem.
cached_data : dict
A map of solver name to cached problem data.
Returns
dict
The solver output in standard form.'

def format_results(self, result_dict, data, cached_data):

    new_results = result_dict
    if (result_dict[s.PRIMAL] is None):
        new_results[s.STATUS] = s.INFEASIBLE
    else:
        new_results[s.STATUS] = s.OPTIMAL
    return new_results
