#include "ortools/algorithms/set_cover_reader.h"
#include <sys/types.h>
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <string>
#include <vector>
#include "absl/log/check.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "ortools/algorithms/set_cover.pb.h"
#include "ortools/algorithms/set_cover_model.h"
#include "ortools/base/file.h"
#include "ortools/base/helpers.h"
#include "ortools/base/logging.h"
#include "ortools/base/options.h"
#include "ortools/util/filelineiter.h"
Go to the source code of this file.
|
namespace | operations_research |
| In SWIG mode, we don't want anything besides these top-level includes.
|
|
|
SetCoverModel | operations_research::ReadOrlibScp (absl::string_view filename) |
| This is a row-based format where the elements are 1-indexed.
|
|
SetCoverModel | operations_research::ReadOrlibRail (absl::string_view filename) |
| This is a column-based format where the elements are 1-indexed.
|
|
SetCoverModel | operations_research::ReadFimiDat (absl::string_view filename) |
|
SetCoverModel | operations_research::ReadSetCoverProto (absl::string_view filename, bool binary) |
|
void | operations_research::WriteOrlibScp (const SetCoverModel &model, absl::string_view filename) |
|
void | operations_research::WriteOrlibRail (const SetCoverModel &model, absl::string_view filename) |
| Beware the fact that elements written are converted to 1-indexed.
|
|
void | operations_research::WriteSetCoverProto (const SetCoverModel &model, absl::string_view filename, bool binary) |
|
SubsetBoolVector | operations_research::ReadSetCoverSolutionText (absl::string_view filename) |
|
SubsetBoolVector | operations_research::ReadSetCoverSolutionProto (absl::string_view filename, bool binary) |
|
void | operations_research::WriteSetCoverSolutionText (const SetCoverModel &model, const SubsetBoolVector &solution, absl::string_view filename) |
|
void | operations_research::WriteSetCoverSolutionProto (const SetCoverModel &model, const SubsetBoolVector &solution, absl::string_view filename, bool binary) |
|