#fire #scheme #step #line-search #velocity #md #algorithm

gosh-fire

FIRE algorithm for geometry optimization

1 unstable release

0.1.0 May 16, 2022

#8 in #velocity

28 downloads per month
Used in gosh-optim

MIT/Apache

300KB
717 lines

FIRE: fast inertial relaxation engine algorithm

Build Status GPL3 licensed

Features

  • Fast & Reliable Rust implementation.
  • MD integration schemes: Velocity Verlet and Semi-implicit Euler methods
  • line search for optimal step size.

Usage

use fire::*;

let mut x = [0.0];
fire().minimize(&mut x, |x, gx| {
    let fx = (x[0] - 1.).powi(2);
    gx[0] = 2.0 * (x[0] - 1.0);
    fx
});

References

Dependencies

~12–25MB
~363K SLoC