pysolver_view.optimization.backends.custom module

pysolver_view.optimization.backends.custom module#

Adapt package problem conventions to the controlled SLSQP driver.

pysolver_view.optimization.backends.custom.minimize_pysolver(problem, x0, method, solver_options)[source]#

Run controlled SLSQP with one owner for model and derivative accounting.

Package inequalities are nonpositive; the numerical driver uses nonnegative slacks. Conversion happens here for both values and Jacobian rows. Driver KKT diagnostics and histories retain the driver’s convention in backend_result; its final fitness uses package signs. The facade converts KKT diagnostics to public signs in result and iteration history.