MCPcopy Create free account
hub / github.com/davisking/dlib / find_max_bobyqa

Function find_max_bobyqa

dlib/optimization/optimization_bobyqa.h:3401–3416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3399 typename U
3400 >
3401 double find_max_bobyqa (
3402 const funct& f,
3403 T& x,
3404 long npt,
3405 const U& x_lower,
3406 const U& x_upper,
3407 const double rho_begin,
3408 const double rho_end,
3409 const long max_f_evals
3410 )
3411 {
3412 // The starting point (i.e. x) must be a column vector.
3413 COMPILE_TIME_ASSERT(T::NC <= 1);
3414
3415 return -find_min_bobyqa(negate_function(f), x, npt, x_lower, x_upper, rho_begin, rho_end, max_f_evals);
3416 }
3417
3418// ----------------------------------------------------------------------------------------
3419

Callers 1

test_neg_rosenFunction · 0.85

Calls 2

find_min_bobyqaFunction · 0.85
negate_functionFunction · 0.85

Tested by 1

test_neg_rosenFunction · 0.68