38void ParseFile(
const std::string& filename,
bool presolve) {
48 std::string problem_name = filename;
50 CHECK(absl::EndsWith(problem_name,
".fzn"));
51 problem_name.resize(problem_name.size() - 4);
53 const size_t found = problem_name.find_last_of(
"/\\");
54 if (found != std::string::npos) {
55 problem_name = problem_name.substr(found + 1);
69 if (absl::GetFlag(FLAGS_statistics)) {
74 if (absl::GetFlag(FLAGS_print)) {
int main(int argc, char **argv)
ABSL_FLAG(std::string, input, "", "Input file in the flatzinc format.")