def __init__(self, basis_kwargs, functions, nodes, problem, residual_function, result):
self._basis_kwargs = basis_kwargs<EOL>self._functions = functions<EOL>self._nodes = nodes<EOL>self._problem = problem<EOL>self._residual_function = residual_function<EOL>self._result = result<EOL>
Initialize an instance of the Solution class.

Parameters
----------
basis_kwargs : dict
functions : list
nodes : numpy.ndarray
problem : TwoPointBVPLike
residual_function : callable
result : OptimizeResult