Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sharder.cc File Reference
#include "ortools/pdlp/sharder.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <functional>
#include <vector>
#include "Eigen/Core"
#include "Eigen/SparseCore"
#include "absl/log/check.h"
#include "absl/synchronization/blocking_counter.h"
#include "absl/time/time.h"
#include "ortools/base/logging.h"
#include "ortools/base/mathutil.h"
#include "ortools/base/threadpool.h"
#include "ortools/base/timer.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::pdlp
 Validation utilities for solvers.proto.
 

Functions

VectorXd operations_research::pdlp::TransposedMatrixVectorProduct (const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix, const VectorXd &vector, const Sharder &sharder)
 
void operations_research::pdlp::SetZero (const Sharder &sharder, VectorXd &dest)
 
VectorXd operations_research::pdlp::ZeroVector (const Sharder &sharder)
 Like VectorXd::Zero(sharder.NumElements()).
 
VectorXd operations_research::pdlp::OnesVector (const Sharder &sharder)
 Like VectorXd::Ones(sharder.NumElements()).
 
void operations_research::pdlp::AddScaledVector (const double scale, const VectorXd &increment, const Sharder &sharder, VectorXd &dest)
 
void operations_research::pdlp::AssignVector (const VectorXd &vec, const Sharder &sharder, VectorXd &dest)
 
VectorXd operations_research::pdlp::CloneVector (const VectorXd &vec, const Sharder &sharder)
 
void operations_research::pdlp::CoefficientWiseProductInPlace (const VectorXd &scale, const Sharder &sharder, VectorXd &dest)
 
void operations_research::pdlp::CoefficientWiseQuotientInPlace (const VectorXd &scale, const Sharder &sharder, VectorXd &dest)
 
double operations_research::pdlp::Dot (const VectorXd &v1, const VectorXd &v2, const Sharder &sharder)
 
double operations_research::pdlp::LInfNorm (const VectorXd &vector, const Sharder &sharder)
 
double operations_research::pdlp::L1Norm (const VectorXd &vector, const Sharder &sharder)
 
double operations_research::pdlp::SquaredNorm (const VectorXd &vector, const Sharder &sharder)
 
double operations_research::pdlp::Norm (const VectorXd &vector, const Sharder &sharder)
 
double operations_research::pdlp::SquaredDistance (const VectorXd &vector1, const VectorXd &vector2, const Sharder &sharder)
 
double operations_research::pdlp::Distance (const VectorXd &vector1, const VectorXd &vector2, const Sharder &sharder)
 
double operations_research::pdlp::ScaledLInfNorm (const VectorXd &vector, const VectorXd &scale, const Sharder &sharder)
 
double operations_research::pdlp::ScaledSquaredNorm (const VectorXd &vector, const VectorXd &scale, const Sharder &sharder)
 
double operations_research::pdlp::ScaledNorm (const VectorXd &vector, const VectorXd &scale, const Sharder &sharder)
 
VectorXd operations_research::pdlp::ScaledColLInfNorm (const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix, const VectorXd &row_scaling_vec, const VectorXd &col_scaling_vec, const Sharder &sharder)
 
VectorXd operations_research::pdlp::ScaledColL2Norm (const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix, const VectorXd &row_scaling_vec, const VectorXd &col_scaling_vec, const Sharder &sharder)