English

optHIM: Hybrid Iterative Methods for Continuous Optimization in PyTorch

Mathematical Software 2025-05-08 v1 Optimization and Control

Abstract

We introduce optHIM, an open-source library of continuous unconstrained optimization algorithms implemented in PyTorch for both CPU and GPU. By leveraging PyTorch's autograd, optHIM seamlessly integrates function, gradient, and Hessian information into flexible line-search and trust-region methods. We evaluate eleven state-of-the-art variants on benchmark problems spanning convex and non-convex landscapes. Through a suite of quantitative metrics and qualitative analyses, we demonstrate each method's strengths and trade-offs. optHIM aims to democratize advanced optimization by providing a transparent, extensible, and efficient framework for research and education.

Keywords

Cite

@article{arxiv.2505.04137,
  title  = {optHIM: Hybrid Iterative Methods for Continuous Optimization in PyTorch},
  author = {Nikhil Sridhar and Sajiv Shah},
  journal= {arXiv preprint arXiv:2505.04137},
  year   = {2025}
}
R2 v1 2026-06-28T23:23:59.464Z