Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sparse_matrix.h File Reference
#include <algorithm>
#include <cstdint>
#include <tuple>
#include <utility>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/meta/type_traits.h"
#include "absl/types/span.h"
#include "ortools/base/map_util.h"
#include "ortools/base/strong_int.h"
#include "ortools/math_opt/sparse_containers.pb.h"
#include "ortools/math_opt/storage/model_storage_types.h"

Go to the source code of this file.

Classes

class  operations_research::math_opt::SparseSymmetricMatrix
 
class  operations_research::math_opt::SparseMatrix< RowId, ColumnId >
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::math_opt
 An object oriented wrapper for quadratic constraints in ModelStorage.
 
namespace  operations_research::math_opt::internal
 

Functions

template<typename RowId , typename ColumnId >
SparseDoubleMatrixProto operations_research::math_opt::internal::EntriesToMatrixProto (std::vector< std::tuple< RowId, ColumnId, double > > entries)
 entries must have unique (row, column) values but can be in any order.
 

Variables

constexpr double operations_research::math_opt::internal::kZerosCleanup = 1.0 / 3.0