def __init__(self, f, x=None, x_dict=None, y=None, y_dict=None,<EOL>solver=None, the_time=<NUM_LIT:0>, status='<STR_LIT>', **kwargs):
super(LegacySolution, self).__init__(**kwargs)<EOL>self.solver = solver<EOL>self.f = f<EOL>self.x = x<EOL>self.x_dict = x_dict<EOL>self.status = status<EOL>self.y = y<EOL>self.y_dict = y_dict<EOL>
Initialize a `LegacySolution` from an objective value.

Parameters
----------
f : float
    Objective value.
solver : str, optional
    A string indicating which solver package was used.
x : iterable, optional
    List or Array of the fluxes (primal values).
x_dict : dict, optional
    A dictionary of reaction IDs that maps to the respective primal
    values.
y : iterable, optional
    List or Array of the dual values.
y_dict : dict, optional
    A dictionary of reaction IDs that maps to the respective dual
    values.
the_time : int, optional
status : str, optional

.. warning :: deprecated