14#ifndef OR_TOOLS_UTIL_QAP_READER_H_
15#define OR_TOOLS_UTIL_QAP_READER_H_
20#include "absl/strings/string_view.h"
34 std::vector<std::vector<int64_t>>
weights;
In SWIG mode, we don't want anything besides these top-level includes.
QapProblem ReadQapProblemOrDie(absl::string_view filepath)
std::vector< std::vector< int64_t > > distances
distances[i][j] is the distance from location i to location j.
int64_t best_known_solution
Best known solution (-1 if not defined).
std::vector< std::vector< int64_t > > weights
weights[i][j] is the amount of flow from facility i to facility j.
bool operator==(const QapProblem &q) const
For testing.