Added (draft) support for Solution::addSolution() with varID filter.