28 file.open(filename.c_str());
29 if (!file.is_open()) {
30 std::cerr <<
"Error! Unable to open file " << filename << std::endl;
31 throw std::runtime_error(
"Error in mango::Problem::read_input_file. Unable to open file.");
35 std::string algorithm_str;
36 file >> N_worker_groups;
37 file >> algorithm_str;