Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sparse_collection_matchers.cc File Reference
#include "ortools/math_opt/core/sparse_collection_matchers.h"
#include <cstdint>
#include <initializer_list>
#include <tuple>
#include <utility>
#include "ortools/math_opt/sparse_containers.pb.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 OR-Tools root namespace.
namespace  operations_research::math_opt

Functions

SparseDoubleVectorProto operations_research::math_opt::MakeSparseDoubleVector (std::initializer_list< std::pair< int64_t, double > > pairs)
SparseBoolVectorProto operations_research::math_opt::MakeSparseBoolVector (std::initializer_list< std::pair< int64_t, bool > > pairs)
SparseDoubleMatrixProto operations_research::math_opt::MakeSparseDoubleMatrix (std::initializer_list< std::tuple< int64_t, int64_t, double > > values)