Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
solution_serializer.h File Reference
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "ortools/base/file.h"
#include "ortools/base/helpers.h"
#include "ortools/base/logging.h"
#include "ortools/routing/parsers/simple_graph.h"

Go to the source code of this file.

Classes

class  operations_research::RoutingSolution
 
struct  operations_research::RoutingSolution::Event
 

Namespaces

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

Enumerations

enum class  operations_research::RoutingOutputFormat {
  operations_research::kNone , operations_research::kTSPLIB , operations_research::kCVRPLIB , operations_research::kCARPLIB ,
  operations_research::kNEARPLIB
}
 

Functions

RoutingOutputFormat operations_research::RoutingOutputFormatFromString (std::string_view format)
 
template<typename T >
std::string operations_research::FormatStatistic (absl::string_view name, T value, RoutingOutputFormat format)
 Formats a solution or solver statistic according to the given format.
 
template<>
std::string operations_research::FormatStatistic (absl::string_view name, double value, RoutingOutputFormat format)
 
template<typename T >
void operations_research::PrintStatistic (absl::string_view name, T value, RoutingOutputFormat format)