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

gosh-fire

FIRE algorithm for geometry optimization

1 unstable release

0.1.0 May 16, 2022

#1902 in Algorithms


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–23MB
~367K SLoC