Home
last modified time | relevance | path

Searched refs:stpmax (Results 1 – 25 of 139) sorted by relevance

123456

/dports/math/optpp/optpp-2.4/src/Base/
H A Dlinesearch.C19 double *step_length, double stpmax, double stpmin, in linesearch() argument
87 itnmax, ftol, stpmax, stpmin); in linesearch()
100 stpmax = stpmax / snorm; in linesearch()
101 if (stpmax<stpmin) { in linesearch()
103 stpmax = 10*stpmin; in linesearch()
106 ftol, xtol, gtol, stpmax, stpmin); in linesearch()
H A Dmcsrch.C14 int itnmax, double ftol, double xtol, double gtol, double stpmax, in mcsrch() argument
136 xtol < zero || stpmin < zero || stpmax < stpmin ) { in mcsrch()
161 width = stpmax - stpmin; in mcsrch()
202 *stp = min(*stp,stpmax); in mcsrch()
233 if (*stp == stpmax && fvalue <= ftest1 && dg <= dgtest) { in mcsrch()
320 double stpmin, double stpmax, int *info) in mcstep() argument
396 *dx * (*stp - *stx) >= 0. || stpmax < stpmin) { in mcstep()
501 stpc = stpmax; in mcstep()
547 stpf = stpmax; in mcstep()
573 stpf = min(stpmax,stpf); in mcstep()
H A Dbacktrack.C43 double *stp, int itnmax, double ftol, double stpmax, double stpmin) in backtrack() argument
103 if (sln >= stpmax && sln != 0.0) { // STEP LONGER THAN MAXIMUM ALLOWED in backtrack()
104 scl = stpmax / sln; in backtrack()
106 sln = stpmax; in backtrack()
H A Dtrustregion.C19 real stpmax, real stpmin) in trustregion() argument
84 real TR_MAX = stpmax; in trustregion()
111 dog_step = dogleg(nlp, fout, H, tgrad, search_dir, sx, dnorm, TR_size, stpmax); in trustregion()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/OPTPP/src/Base/
H A Dlinesearch.C22 double *step_length, double stpmax, double stpmin, in linesearch() argument
90 itnmax, ftol, stpmax, stpmin); in linesearch()
104 stpmax = stpmax / snorm; in linesearch()
105 if (stpmax<stpmin) { in linesearch()
107 stpmax = 10*stpmin; in linesearch()
110 ftol, xtol, gtol, stpmax, stpmin); in linesearch()
H A Dmcsrch.C21 int itnmax, double ftol, double xtol, double gtol, double stpmax, in mcsrch() argument
143 xtol < zero || stpmin < zero || stpmax < stpmin ) { in mcsrch()
168 width = stpmax - stpmin; in mcsrch()
209 *stp = min(*stp,stpmax); in mcsrch()
244 if (*stp == stpmax && fvalue <= ftest1 && dg <= dgtest) { in mcsrch()
331 double stpmin, double stpmax, int *info) in mcstep() argument
407 *dx * (*stp - *stx) >= 0. || stpmax < stpmin) { in mcstep()
512 stpc = stpmax; in mcstep()
558 stpf = stpmax; in mcstep()
584 stpf = min(stpmax,stpf); in mcstep()
H A Dbacktrack.C36 double *stp, int itnmax, double ftol, double stpmax, double stpmin) in backtrack() argument
100 if (sln >= stpmax && sln != 0.0) { // STEP LONGER THAN MAXIMUM ALLOWED in backtrack()
101 scl = stpmax / sln; in backtrack()
103 sln = stpmax; in backtrack()
H A Dtrustregion.C26 double stpmax, double stpmin) in trustregion() argument
91 double TR_MAX = stpmax; in trustregion()
118 dog_step = dogleg(nlp, fout, H, tgrad, search_dir, sx, dnorm, TR_size, stpmax); in trustregion()
/dports/science/py-ase/ase-3.22.0/ase/utils/
H A Dlinesearch.py20 stpmax=50., stpmin=1e-8, args=()): argument
24 self.stpmax = stpmax
79 if stp > self.stpmax:
91 if self.stpmax < self.stpmin:
102 width = self.stpmax - self.stpmin
214 stp = min(stp, self.stpmax)
216 if (stx == stp and stp == self.stpmax and stmin > self.stpmax):
234 stpmin, stpmax): argument
309 stpc = stpmax
338 stpf = min(stpmax, stpf)
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/optimize/minpack2/
H A Ddcsrch.f1 subroutine dcsrch(stp,f,g,ftol,gtol,xtol,task,stpmin,stpmax, argument
5 double precision f, g, stp, ftol, gtol, xtol, stpmin, stpmax local
164 if (stp .gt. stpmax) task = 'ERROR: STP .GT. STPMAX'
170 if (stpmax .lt. stpmin) task = 'ERROR: STPMAX .LT. STPMIN'
183 width = stpmax - stpmin
243 if (stp .eq. stpmax .and. f .le. ftest .and. g .le. gtest)
313 stp = min(stp,stpmax)
H A Dminpack2.pyf4 … subroutine dcsrch(stp,f,g,ftol,gtol,xtol,task,stpmin,stpmax,isave,dsave) ! in :minpack2:dcsrch.f
13 double precision, intent(in) :: stpmax
17 … subroutine dcstep(stx,fx,dx,sty,fy,dy,stp,fp,dp,brackt,stpmin,stpmax) ! in :minpack2:dcstep.f
29 double precision :: stpmax
H A Ddcstep.f2 + stpmax) argument
5 + stpmax local
173 stpc = stpmax
206 stpf = min(stpmax,stpf)
227 stpf = stpmax
/dports/cad/gmsh/gmsh-4.9.2-source/Numeric/
H A DConjugateGradients.cpp34 double &f, double stpmax, int &check) in gmshLineSearch() argument
50 if(norm > stpmax) scale(p, stpmax / norm); in gmshLineSearch()
137 double stpmax = 100000; in GradientDescent() local
142 gmshLineSearch(func, data, x, dir, grad, f, stpmax, check); in GradientDescent()
/dports/math/maxima/maxima-5.43.2/share/lbfgs/
H A Dlb2.lisp26 (stpmax 0.0 :type (double-float)))
37 (symbol-macrolet ((stpmax (lb3-stpmax *lb3-common-block*))
46 (setf stpmax 1.0e20))))
H A Dmcstep.lisp20 (defun mcstep (stx fx dx sty fy dy stp fp dp brackt stpmin stpmax info)
23 (type (double-float) stpmax stpmin dp fp stp dy fy sty dx fx stx))
32 (< stpmax stpmin))
107 (setf stpc stpmax))
147 (setf stpf stpmax))
164 (setf stpf (min stpmax stpf))
/dports/biology/molden/molden5.8/ambfor/
H A Dlbfgs.f3 common /lb3/gtol,stpmin,stpmax local
21 stpmax = 1.0e+20
113 common /lb3/gtol,stpmin,stpmax local
376 common /lb3/gtol,stpmin,stpmax local
410 width = stpmax - stpmin
440 stp = min(stp,stpmax)
471 if (stp.eq.stpmax .and.
529 & stpmin,stpmax,info) argument
634 stpc = stpmax
680 stpf = stpmax
[all …]
/dports/math/geogram/geogram-1.7.7/src/lib/geogram/third_party/HLBFGS/
H A DLineSearch.cpp13 double * stpmax, int *maxfev, int *info, int *nfev, double *wa, in MCSRCH() argument
68 || *stpmin < 0. || *stpmax < *stpmin || *maxfev <= 0) in MCSRCH()
82 width = *stpmax - *stpmin; in MCSRCH()
102 *stp = std::min<double>(*stp, *stpmax); in MCSRCH()
122 if (*stp == *stpmax && *f <= ftest1 && dg <= dgtest) in MCSRCH()
234 double *stpmin, double *stpmax, int *info) in MCSTEP() argument
253 ) || *dx * (*stp - *stx) >= 0. || *stpmax < *stpmin in MCSTEP()
362 stpc = *stpmax; in MCSTEP()
418 stpf = *stpmax; in MCSTEP()
447 stpf = std::min<double>(*stpmax, stpf); in MCSTEP()
H A DLineSearch.h23 double * stpmax, int *maxfev, int *info, int *nfev, double *wa,
33 double *stpmin, double *stpmax, int *info);
/dports/science/tinker/tinker/source/
H A Dsearch.f81 if (stpmax .eq. 0.0d0) stpmax = 2.0d0
138 if (step .gt. stpmax) step = stpmax
204 if (step .gt. stpmax) step = stpmax
H A Dsquare.f73 real*8 stpmax,stpmin
122 stpmax = 10000.0d0 * sqrt(dble(n))
140 read (string,*,err=10,end=10) stpmax
338 call lmstep (nactive,m,ga,fjac,ipvt,xsa,qtf,stpmax,
620 subroutine lmstep (n,m,ga,a,ipvt,xscale,qtf,stpmax, argument
627 real*8 stpmax,delta
689 delta = min(delta,stpmax)
952 real*8 fcnorm,stpmax
1101 delta = min(2.0d0*delta,stpmax)
1107 if (stplen .gt. 0.99d0*stpmax) bigstp = .true.
[all …]
/dports/science/mpb/mpb-1.11.1/src/matrices/
H A Dminpack2-linmin.c119 doublereal *stpmin, doublereal *stpmax, integer *isave, doublereal * in dcsrch() argument
286 if (*stp > *stpmax) { in dcsrch()
304 if (*stpmax < *stpmin) { in dcsrch()
317 width = *stpmax - *stpmin; in dcsrch()
371 if (*stp == *stpmax && *f <= ftest && *g <= gtest) { in dcsrch()
428 *stp = MIN(*stp,*stpmax); in dcsrch()
466 doublereal *stpmax) in dcstep() argument
652 stpc = *stpmax; in dcstep()
686 stpf = MIN(*stpmax,stpf); in dcstep()
712 stpf = *stpmax; in dcstep()
/dports/science/py-ase/ase-3.22.0/ase/optimize/
H A Dbfgslinesearch.py26 trajectory=None, c1=0.23, c2=0.46, alpha=10.0, stpmax=50.0, argument
66 self.stpmax = stpmax
124 c2=self.c2, stpmax=self.stpmax)
/dports/science/dynare/dynare-4.6.4/matlab/
H A Dlnsrch1.m1 function [x,f,fvec,check]=lnsrch1(xold, fold, g, p, stpmax, func, j1, j2, tolx, varargin)
2 % function [x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,tolx,varargin)
10 % stpmax: maximum step
76 if summ > stpmax
77 p = p*stpmax/summ ;
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/OPTPP/include/
H A DOpt.h64 Teuchos::SerialDenseVector<int,double>&, double&, double&, double stpmax = 1.e3,
69 Teuchos::SerialDenseVector<int,double>&, double&, double&, double stpmax = 1.e3,
82 double stpmax = 1.e3, double stpmin = 1.e-9,
88 double stpmax = 1.e3, double stpmin = 1.e-9);
92 double gtol = 0.9, double stpmax = 1.e3,
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Optimizers/src/
H A Dlbfgs.cpp67 Real gtol, stpmin, stpmax; member
89 Real *stpmin, Real *stpmax, integer *info);
790 lb3_1.stpmin < 0. || lb3_1.stpmax < lb3_1.stpmin || *maxfev <= 0) { in mcsrch_()
814 width = lb3_1.stpmax - lb3_1.stpmin; in mcsrch_()
853 *stp = std::min(*stp,lb3_1.stpmax); in mcsrch_()
886 if (*stp == lb3_1.stpmax && *f <= ftest1 && dg <= dgtest) { in mcsrch_()
978 Real *stpmin, Real *stpmax, integer *info) in mcstep_() argument
1049 || *dx * (*stp - *stx) >= 0. || *stpmax < *stpmin) { in mcstep_()
1142 stpc = *stpmax; in mcstep_()
1183 stpf = *stpmax; in mcstep_()
[all …]

123456