upload gen and solver