You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GlobalPivotSearchInput(tci::TensorCI2{ValueType}) where {ValueType}
633
+
634
+
Construct a GlobalPivotSearchInput from a TensorCI2 object.
635
+
"""
636
+
functionGlobalPivotSearchInput(tci::TensorCI2{ValueType}) where {ValueType}
637
+
returnGlobalPivotSearchInput{ValueType}(
638
+
tci.localdims,
639
+
TensorTrain(tci),
640
+
tci.maxsamplevalue,
641
+
tci.Iset,
642
+
tci.Jset
643
+
)
644
+
end
645
+
635
646
636
647
"""
637
648
function optimize!(
@@ -670,10 +681,14 @@ Arguments:
670
681
- `ncheckhistory::Int` is the number of history points to use for convergence checks. Default: `3`.
671
682
- `globalpivotfinder::Union{AbstractGlobalPivotFinder, Nothing}` is a global pivot finder to use for searching global pivots. Default: `nothing`. If `nothing`, a default global pivot finder is used.
672
683
- `maxnglobalpivot::Int` can be set to `>= 0`. Default: `5`. The maximum number of global pivots to add in each iteration.
673
-
- `nsearchglobalpivot::Int` can be set to `>= 0`. Default: `5`. This parameter is used for the default global pivot finder. Deprecated.
674
-
- `tolmarginglobalsearch` can be set to `>= 1.0`. Seach global pivots where the interpolation error is larger than the tolerance by `tolmarginglobalsearch`. Default: `10.0`. This parameter is used for the default global pivot finder. Deprecated.
675
684
- `strictlynested::Bool` determines whether to preserve partial nesting in the TCI algorithm. Default: `false`.
676
685
- `checkbatchevaluatable::Bool` Check if the function `f` is batch evaluatable. Default: `false`.
686
+
- `checkconvglobalpivot::Bool` Check if the global pivot finder is converged. Default: `true`. In the future, this will be set to `false` by default.
687
+
688
+
Arguments (deprecated):
689
+
- `pivottolerance::Float64` is the tolerance for the pivot search. Deprecated.
690
+
- `nsearchglobalpivot::Int` is the number of search points for the global pivot finder. Deprecated.
691
+
- `tolmarginglobalsearch::Float64` is the tolerance for the global pivot finder. Deprecated.
677
692
678
693
Notes:
679
694
- Set `tolerance` to be > 0 or `maxbonddim` to some reasonable value. Otherwise, convergence is not reachable.
0 commit comments