implement WriteToMpsFile in model_builder and model_exporter

This commit is contained in:
Laurent Perron
2024-07-12 17:48:57 +02:00
parent 204ff78b10
commit df2edaf7b7
11 changed files with 44 additions and 6 deletions

View File

@@ -316,8 +316,8 @@ void Run() {
}
if (!absl::GetFlag(FLAGS_dump_mps).empty()) {
CHECK_OK(WriteModelAsMpsFormat(absl::GetFlag(FLAGS_dump_mps),
request_proto.model()));
CHECK_OK(WriteModelToMpsFile(absl::GetFlag(FLAGS_dump_mps),
request_proto.model()));
}
// Set or override request proto options from the command line flags.