![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
#include <cstdint>#include <initializer_list>#include <tuple>#include <type_traits>#include <utility>#include <vector>#include "gtest/gtest.h"#include "ortools/base/gmock.h"#include "ortools/math_opt/core/sparse_vector_view.h"#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 |
Typedefs | |
| template<typename T> | |
| using | operations_research::math_opt::Pairs = std::initializer_list<std::pair<int64_t, const T>> |
| using | operations_research::math_opt::Coefficient = std::tuple<int64_t, int64_t, const double> |
| using | operations_research::math_opt::Coefficients = std::initializer_list<Coefficient> |
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) |
| operations_research::math_opt::MATCHER_P (SparseVectorMatcher, pairs, "") | |
| operations_research::math_opt::MATCHER_P (SparseDoubleMatrixMatcher, coefficients, "") | |