Sketcher: SparseQR as default QR method
======================================= The SparseQR is set as default method. However, in accordance with the previous commit, only if a new enough Eigen library is present will SparseQR be executed. If the library is old and SparseQR can not be reliably used, FC will automatically fall back to use DenseQR. This ensures that users that have a new enough library > 3.2.2 will benefit from the performance increase, while the users that use older library will still have the same performance as in legacy FC.
This commit is contained in:
parent
ffaa0c8249
commit
2a54fba098
|
@ -175,7 +175,7 @@ System::System()
|
|||
maxIter(100), maxIterRedundant(100),
|
||||
sketchSizeMultiplier(true), sketchSizeMultiplierRedundant(true),
|
||||
convergence(1e-10), convergenceRedundant(1e-10),
|
||||
qrAlgorithm(EigenDenseQR), debugMode(Minimal),
|
||||
qrAlgorithm(EigenSparseQR), debugMode(Minimal),
|
||||
LM_eps(1E-10), LM_eps1(1E-80), LM_tau(1E-3),
|
||||
DL_tolg(1E-80), DL_tolx(1E-80), DL_tolf(1E-10),
|
||||
LM_epsRedundant(1E-10), LM_eps1Redundant(1E-80), LM_tauRedundant(1E-3),
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
#define MAX_ITER 100
|
||||
#define DEFAULT_SOLVER 2 // DL=2, LM=1, BFGS=0
|
||||
#define DEFAULT_RSOLVER 2 // DL=2, LM=1, BFGS=0
|
||||
#define DEFAULT_QRSOLVER 0 // DENSE=0, SPARSEQR=1
|
||||
#define DEFAULT_QRSOLVER 1 // DENSE=0, SPARSEQR=1
|
||||
#define QR_PIVOT_THRESHOLD 1E-13 // under this value a Jacobian value is regarded as zero
|
||||
#define DEFAULT_SOLVER_DEBUG 1 // None=0, Minimal=1, IterationLevel=2
|
||||
#define MAX_ITER_MULTIPLIER true
|
||||
|
|
|
@ -245,7 +245,7 @@
|
|||
<item>
|
||||
<widget class="Gui::PrefComboBox" name="comboBoxQRMethod">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>QRMethod</cstring>
|
||||
|
|
Loading…
Reference in New Issue
Block a user