/fire

FIRE: fast inertial relaxation engine algorithm

Primary LanguageRustGNU General Public License v3.0GPL-3.0

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