Skip to main content

Module functions

Module functions 

Source
Expand description

Test function implementations organized by category

This module contains all the optimization test functions:

  • Unimodal functions (single optimum)
  • Multimodal functions (multiple local minima)
  • Constrained functions (with constraints)
  • Composite functions (hybrid benchmarks)
  • Modern functions (recent benchmark functions)

Re-exports§

pub use ackley::ackley;
pub use ackley_n2::ackley_n2;
pub use ackley_n3::ackley_n3;
pub use alpine_n1::alpine_n1;
pub use alpine_n2::alpine_n2;
pub use beale::beale;
pub use bent_cigar::bent_cigar;
pub use bent_cigar_alt::bent_cigar_alt;
pub use binh_korn_constraint1::binh_korn_constraint1;
pub use binh_korn_constraint2::binh_korn_constraint2;
pub use binh_korn_weighted::binh_korn_weighted;
pub use bird::bird;
pub use bohachevsky1::bohachevsky1;
pub use bohachevsky2::bohachevsky2;
pub use bohachevsky3::bohachevsky3;
pub use booth::booth;
pub use branin::branin;
pub use brown::brown;
pub use bukin_n6::bukin_n6;
pub use chung_reynolds::chung_reynolds;
pub use cigar::cigar;
pub use colville::colville;
pub use cosine_mixture::cosine_mixture;
pub use cross_in_tray::cross_in_tray;
pub use de_jong_step2::de_jong_step2;
pub use dejong_f5_foxholes::dejong_f5_foxholes;
pub use different_powers::different_powers;
pub use discus::discus;
pub use dixons_price::dixons_price;
pub use drop_wave::drop_wave;
pub use easom::easom;
pub use eggholder::eggholder;
pub use elliptic::elliptic;
pub use epistatic_michalewicz::epistatic_michalewicz;
pub use expanded_griewank_rosenbrock::expanded_griewank_rosenbrock;
pub use exponential::exponential;
pub use forrester_2008::forrester_2008;
pub use freudenstein_roth::freudenstein_roth;
pub use goldstein_price::goldstein_price;
pub use gramacy_lee_2012::gramacy_lee_2012;
pub use gramacy_lee_function::gramacy_lee_function;
pub use griewank::griewank;
pub use griewank2::griewank2;
pub use happy_cat::happy_cat;
pub use happycat::happycat;
pub use hartman_3d::hartman_3d;
pub use hartman_4d::hartman_4d;
pub use hartman_6d::hartman_6d;
pub use himmelblau::himmelblau;
pub use holder_table::holder_table;
pub use katsuura::katsuura;
pub use keanes_bump_constraint1::keanes_bump_constraint1;
pub use keanes_bump_constraint2::keanes_bump_constraint2;
pub use keanes_bump_objective::keanes_bump_objective;
pub use lampinen_simplified::lampinen_simplified;
pub use langermann::langermann;
pub use levi13::levi13;
pub use levy::levy;
pub use levy_n13::levy_n13;
pub use matyas::matyas;
pub use mccormick::mccormick;
pub use michalewicz::michalewicz;
pub use mishras_bird_constraint::mishras_bird_constraint;
pub use mishras_bird_objective::mishras_bird_objective;
pub use periodic::periodic;
pub use perm_0_d_beta::perm_0_d_beta;
pub use perm_d_beta::perm_d_beta;
pub use pinter::pinter;
pub use powell::powell;
pub use power_sum::power_sum;
pub use qing::qing;
pub use quadratic::quadratic;
pub use quartic::quartic;
pub use rastrigin::rastrigin;
pub use ridge::ridge;
pub use rosenbrock::rosenbrock;
pub use rosenbrock_disk_constraint::rosenbrock_disk_constraint;
pub use rosenbrock_objective::rosenbrock_objective;
pub use rotated_hyper_ellipsoid::rotated_hyper_ellipsoid;
pub use salomon::salomon;
pub use salomon_corrected::salomon_corrected;
pub use schaffer_n2::schaffer_n2;
pub use schaffer_n4::schaffer_n4;
pub use schwefel::schwefel;
pub use schwefel2::schwefel2;
pub use sharp_ridge::sharp_ridge;
pub use shekel::shekel;
pub use shubert::shubert;
pub use six_hump_camel::six_hump_camel;
pub use sphere::sphere;
pub use step::step;
pub use styblinski_tang2::styblinski_tang2;
pub use sum_of_different_powers::sum_of_different_powers;
pub use sum_squares::sum_squares;
pub use tablet::tablet;
pub use three_hump_camel::three_hump_camel;
pub use trid::trid;
pub use vincent::vincent;
pub use whitley::whitley;
pub use xin_she_yang_n1::xin_she_yang_n1;
pub use xin_she_yang_n2::xin_she_yang_n2;
pub use xin_she_yang_n3::xin_she_yang_n3;
pub use xin_she_yang_n4::xin_she_yang_n4;
pub use zakharov::zakharov;
pub use zakharov2::zakharov2;

Modules§

ackley
Ackley test function
ackley_n2
Ackley N2 test function
ackley_n3
Ackley N3 test function
alpine_n1
Alpine N1 test function
alpine_n2
Alpine N2 test function
beale
Beale test function
bent_cigar
Bent Cigar test function
bent_cigar_alt
Bent Cigar Alt test function
binh_korn_constraint1
Binh Korn Constraint1 test function
binh_korn_constraint2
Binh Korn Constraint2 test function
binh_korn_weighted
Binh Korn Weighted test function
bird
Bird test function
bohachevsky1
Bohachevsky1 test function
bohachevsky2
Bohachevsky2 test function
bohachevsky3
Bohachevsky3 test function
booth
Booth test function
branin
Branin test function
brown
Brown test function
bukin_n6
Bukin N6 test function
chung_reynolds
Chung Reynolds test function
cigar
Cigar test function
colville
Colville test function
cosine_mixture
Cosine Mixture test function
cross_in_tray
Cross In Tray test function
de_jong_step2
De Jong Step2 test function
dejong_f5_foxholes
Dejong F5 Foxholes test function
different_powers
Different Powers test function
discus
Discus test function
dixons_price
Dixons Price test function
drop_wave
Drop Wave test function
easom
Easom test function
eggholder
Eggholder test function
elliptic
Elliptic test function
epistatic_michalewicz
Epistatic Michalewicz test function
expanded_griewank_rosenbrock
Expanded Griewank Rosenbrock test function
exponential
Exponential test function
forrester_2008
Forrester 2008 test function
freudenstein_roth
Freudenstein Roth test function
goldstein_price
Goldstein Price test function
gramacy_lee_2012
Gramacy Lee 2012 test function
gramacy_lee_function
Gramacy Lee Function test function
griewank
Griewank test function
griewank2
Griewank2 test function
happy_cat
Happy Cat test function
happycat
Happycat test function
hartman_3d
Hartman 3D test function
hartman_4d
Hartman 4D test function
hartman_6d
Hartman 6D test function
himmelblau
Himmelblau test function
holder_table
Holder Table test function
katsuura
Katsuura test function
keanes_bump_constraint1
Keanes Bump Constraint1 test function
keanes_bump_constraint2
Keanes Bump Constraint2 test function
keanes_bump_objective
Keanes Bump Objective test function
lampinen_simplified
Lampinen Simplified test function
langermann
Langermann test function
levi13
Levi13 test function
levy
Levy test function
levy_n13
Levy N13 test function
matyas
Matyas test function
mccormick
Mccormick test function
michalewicz
Michalewicz test function
mishras_bird_constraint
Mishras Bird Constraint test function
mishras_bird_objective
Mishras Bird Objective test function
periodic
Periodic test function
perm_0_d_beta
Perm 0 D Beta test function
perm_d_beta
Perm D Beta test function
pinter
Pinter test function
powell
Powell test function
power_sum
Power Sum test function
qing
Qing test function
quadratic
Quadratic test function
quartic
Quartic test function
rastrigin
Rastrigin test function
ridge
Ridge test function
rosenbrock
Rosenbrock test function
rosenbrock_disk_constraint
Rosenbrock Disk Constraint test function
rosenbrock_objective
Rosenbrock Objective test function
rotated_hyper_ellipsoid
Rotated Hyper Ellipsoid test function
salomon
Salomon test function
salomon_corrected
Salomon Corrected test function
schaffer_n2
Schaffer N2 test function
schaffer_n4
Schaffer N4 test function
schwefel
Schwefel test function
schwefel2
Schwefel2 test function
sharp_ridge
Sharp Ridge test function
shekel
Shekel test function
shubert
Shubert test function
six_hump_camel
Six Hump Camel test function
sphere
Sphere test function
step
Step test function
styblinski_tang2
Styblinski Tang2 test function
sum_of_different_powers
Sum Of Different Powers test function
sum_squares
Sum Squares test function
tablet
Tablet test function
three_hump_camel
Three Hump Camel test function
trid
Trid test function
vincent
Vincent test function
whitley
Whitley test function
xin_she_yang_n1
Xin She Yang N1 test function
xin_she_yang_n2
Xin She Yang N2 test function
xin_she_yang_n3
Xin She Yang N3 test function
xin_she_yang_n4
Xin She Yang N4 test function
zakharov
Zakharov test function
zakharov2
Zakharov2 test function