send the scenario through a pipe to the solver and get the solution back