'Return a serializable description of the solver\'s current state.'

def saveState(self):

    state = OrderedDict()
    for (name, var) in self._vars.items():
        state[name] = (var[0], var[2])
    return state
