OR-Tools  9.3
sparse_submatrix.h File Reference

Go to the source code of this file.

Namespaces

namespace  operations_research
 Collection of objects used to extend the Constraint Solver library.
 
namespace  operations_research::math_opt
 

Typedefs

using SparseSubmatrixRowsView = std::vector< std::pair< int64_t, SparseVectorView< double > > >
 

Functions

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)
 
std::vector< std::pair< int64_t, SparseVector< double > > > TransposeSparseSubmatrix (const SparseSubmatrixRowsView &submatrix_by_rows)