Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model_exporter.cc File Reference
#include "ortools/linear_solver/model_exporter.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/container/flat_hash_set.h"
#include "absl/flags/flag.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/ascii.h"
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
#include "ortools/base/helpers.h"
#include "ortools/base/logging.h"
#include "ortools/base/options.h"
#include "ortools/base/status_macros.h"
#include "ortools/linear_solver/linear_solver.pb.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 

Functions

 ABSL_RETIRED_FLAG (bool, lp_log_invalid_name, false, "DEPRECATED.")
 
absl::StatusOr< std::string > operations_research::ExportModelAsLpFormat (const MPModelProto &model, const MPModelExportOptions &options)
 
absl::StatusOr< std::string > operations_research::ExportModelAsMpsFormat (const MPModelProto &model, const MPModelExportOptions &options)
 
absl::Status operations_research::WriteModelToMpsFile (absl::string_view filename, const MPModelProto &model, const MPModelExportOptions &options)
 

Function Documentation

◆ ABSL_RETIRED_FLAG()

ABSL_RETIRED_FLAG ( bool ,
lp_log_invalid_name ,
false ,
"DEPRECATED."  )

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.