-
logical
BOBYQB(this, NDIM, NPT, X, XL, XU, XBASE, XPT, FVAL, XOPT, GOPT, HQ, PQ, BMAT, ZMAT, SL, SU, XNEW, XALT, D, VLAG, W, N)
-
TBOBYQA :: this
-
integer :: NDIM
-
integer :: NPT
-
REAL(dp) :: X(*)
-
REAL(dp) :: XL(*)
-
REAL(dp) :: XU(*)
-
REAL(dp) :: XBASE(*)
-
REAL(dp) :: XPT(NPT,*)
-
REAL(dp) :: FVAL(*)
-
REAL(dp) :: XOPT(*)
-
REAL(dp) :: GOPT(*)
-
REAL(dp) :: HQ(*)
-
REAL(dp) :: PQ(*)
-
REAL(dp) :: BMAT(NDIM,*)
-
REAL(dp) :: ZMAT(NPT,*)
-
REAL(dp) :: SL(*)
-
REAL(dp) :: SU(*)
-
REAL(dp) :: XNEW(*)
-
REAL(dp) :: XALT(*)
-
REAL(dp) :: D(*)
-
REAL(dp) :: VLAG(*)
-
REAL(dp) :: W(*)
-
INTEGER :: N
logical
newuoa(this, obj, funk, n, npt, x, rhobeg, rhoend, iprint, maxfun)
TNEWUOA :: this
class(*) target :: obj
real(dp) external :: funk a class function f(obj,x) where obj is any class instance
integer intent(in) :: n the number of variables. must be at least 2.
integer intent(in) :: npt The number of interpolation conditions.
real(dp) dimension(*),intent(inout) :: x Initial values of the variables must be set in X(1),X(2),...,X(N). They
real(dp) intent(in) :: rhobeg RHOBEG and RHOEND must be set to the initial and final values of a trust
real(dp) intent(in) :: rhoend RHOBEG and RHOEND must be set to the initial and final values of a trust
integer intent(in) :: iprint The value of IPRINT should be set to 0, 1, 2 or 3, which controls the
integer intent(in) :: maxfun an upper bound on the number of calls of CALFUN.
real(dl)
obj_vec_function(obj, x)
class(*) :: obj
real(dl) :: x(:)