Fixing potential segfault

whichSolved was never initialized, but was accessed to offset into a
pointer
Don't give access to the config of the solver

There is no need. The user already passed the config in, so the user
already has access.