Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <rank_one_update.h>
Public Member Functions | |
RankOneUpdateFactorization () | |
RankOneUpdateFactorization (const RankOneUpdateFactorization &)=delete | |
This type is neither copyable nor movable. | |
RankOneUpdateFactorization & | operator= (const RankOneUpdateFactorization &)=delete |
void | set_hypersparse_ratio (double value) |
This is currently only visible for testing. | |
void | Clear () |
Deletes all elementary matrices of this factorization. | |
void | Update (const RankOneUpdateElementaryMatrix &update_matrix) |
Updates the factorization. | |
void | LeftSolve (DenseRow *y) const |
Left-solves all systems from right to left, i.e. y_i = y_{i+1}.(T_i)^{-1}. | |
void | LeftSolveWithNonZeros (ScatteredRow *y) const |
void | RightSolve (DenseColumn *d) const |
Right-solves all systems from left to right, i.e. T_i.d_{i+1} = d_i. | |
void | RightSolveWithNonZeros (ScatteredColumn *d) const |
EntryIndex | num_entries () const |
double | DeterministicTimeSinceLastReset () const |
void | ResetDeterministicTime () |
A rank one update factorization corresponds to the product of k rank one update elementary matrices, i.e. T = T_0.T_1. ... .T_{k-1}
Definition at line 135 of file rank_one_update.h.
|
inline |
Definition at line 139 of file rank_one_update.h.
|
delete |
This type is neither copyable nor movable.
|
inline |
Deletes all elementary matrices of this factorization.
Definition at line 150 of file rank_one_update.h.
|
inline |
Deterministic time spent in all the solves function since last reset.
Definition at line 241 of file rank_one_update.h.
|
inline |
Left-solves all systems from right to left, i.e. y_i = y_{i+1}.(T_i)^{-1}.
Definition at line 162 of file rank_one_update.h.
|
inline |
Same as LeftSolve(), but if the given non_zeros are not empty, then all the new non-zeros in the result are appended to it.
y->is_non_zero is always all false before and after this code.
Definition at line 172 of file rank_one_update.h.
|
inline |
Definition at line 233 of file rank_one_update.h.
|
delete |
|
inline |
Definition at line 242 of file rank_one_update.h.
|
inline |
Right-solves all systems from left to right, i.e. T_i.d_{i+1} = d_i.
Definition at line 197 of file rank_one_update.h.
|
inline |
Same as RightSolve(), but if the given non_zeros are not empty, then all the new non-zeros in the result are appended to it.
d->is_non_zero is always all false before and after this code.
Definition at line 208 of file rank_one_update.h.
|
inline |
This is currently only visible for testing.
Definition at line 147 of file rank_one_update.h.
|
inline |
Updates the factorization.
Definition at line 156 of file rank_one_update.h.