/ANMetaL

Another Numeric and Metaheuristics Library

Primary LanguagePythonMIT LicenseMIT

Another Numeric optimization and Metaheuristics Library

A library to do your metaheuristics and numeric combinatorial stuff.

to install use

´´´ pip install anmetal ´´´

see /test folder to see some examples of use

In later updates I will make documentation, for now there is only examples code

Content

Numeric optimization

Iterative optimization functions (one solution)

  • Euler method
  • Newton method

Metaheuristics

Real input

  • Artificial Fish Swarm Algorithm (AFSA) (Li, X. L. (2003). A new intelligent optimization-artificial fish swarm algorithm. Doctor thesis, Zhejiang University of Zhejiang, China, 27.)
  • Particle Swarm Optimization (PSO) (Based on https://en.wikipedia.org/wiki/Particle_swarm_optimization)
  • Particle Swarm Optimization (PSO) With Leap
  • Greedy
  • Greedy With Leap

Categorical input

  • Genetic
  • Genetic With Leap

Problems and gold-standard functions

Nphard problems

  • Real problems

    • Partition problem
    • Subset problem
  • Categorical problems

    • knapsack
    • sudoku (without initial matrix, just random)

Non linear functions

Another content

Binarization functions

  • sShape1
  • sShape2
  • sShape3
  • sShape4
  • vShape1
  • vShape2
  • vShape3
  • vShape4
  • erf

Binarization strategies

  • standard
  • complement
  • static_probability
  • elitist