Created NLoptimizer type that maps to Opt as a workaround for Opt serialization and parallel implementation