Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sparse_submatrix.cc File Reference
#include "ortools/math_opt/core/sparse_submatrix.h"
#include <algorithm>
#include <cstdint>
#include <iterator>
#include <optional>
#include <utility>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/math_opt/core/sparse_vector.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
 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.
 

Functions

SparseSubmatrixRowsView operations_research::math_opt::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 > > > operations_research::math_opt::TransposeSparseSubmatrix (const SparseSubmatrixRowsView &submatrix_by_rows)
 

Variable Documentation

◆ end

std::optional<int64_t> end

Definition at line 37 of file sparse_submatrix.cc.

◆ start

int64_t start

Definition at line 36 of file sparse_submatrix.cc.