capsule-generator.cc: return both initial and solution capsules.