reaktoro / optima

A C++/Python library for numerical optimization calculations
GNU Lesser General Public License v2.1
12 stars 8 forks source link

Improvements in backtrack search procedure #22

Closed allanleal closed 1 year ago

allanleal commented 1 year ago

This pull request improves Optima's algorithm by enabling conservative Newton steps (i.e., stepping along the original Newton direction rather than deviating from it when bounds are violated).

These improvements were necessary as some calculations in Reaktoro proved difficult to converge otherwise. For example, chemical equilibrium calculations involving water and minerals gypsum and anhydrite.