gs_rs::optimizer
pub fn optimize(graph: &FactorGraph, iterations: usize)
Optimizes a factor graph with the given number of iterations.