optlib-testfunc 0.1.0

The functions to test optimization algorithms.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented4 out of 4 items with examples
  • Size
  • Source code size: 6.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.22 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Jenyay/rust-optimization
    15 2 29
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Jenyay

optlib-testfunc

Current Version Documentation License

The crate contains functions for optimization algorithms testing. All functions have one global minimum.

Optlib-testfunc contains in this version follow function:

  • Paraboloid. y = (x0 - 1)^2 + (x1 - 2)^2 + (x2 - 3)^2 ... (xn - n)^2. For any x global minimum located in x' = (1.0, 2.0, ..., n). f(x') = 0.
  • The Schwefel function. For any x lies in [-500.0; 500.0] global minimum located in x' = (420.9687, 420.9687, ...). f(x') = 0.
  • The Rastrigin function. For any x lies in [-5.12; 5.12] global minimum located in x' = (0, 0, ...). f(x') = 0.
  • The Rosenbrock function. For any x lies in [-inf; inf] global minimum located in x' = (1, 1, ...). f(x') = 0.