15#ifndef OR_TOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_
16#define OR_TOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_
25#include "ortools/math_opt/sparse_containers.pb.h"
32 std::vector<std::pair<int64_t, SparseVectorView<double>>>;
72 const SparseDoubleMatrixProto& matrix, int64_t start_row_id,
73 std::optional<int64_t> end_row_id, int64_t start_col_id,
74 std::optional<int64_t> end_col_id);
An object oriented wrapper for quadratic constraints in ModelStorage.
std::vector< std::pair< int64_t, SparseVector< double > > > TransposeSparseSubmatrix(const SparseSubmatrixRowsView &submatrix_by_rows)
std::vector< std::pair< int64_t, SparseVectorView< double > > > SparseSubmatrixRowsView
SparseSubmatrixRowsView SparseSubmatrixByRows(const SparseDoubleMatrixProto &matrix, const int64_t start_row_id, const std::optional< int64_t > end_row_id, const int64_t start_col_id, const std::optional< int64_t > end_col_id)