ScipySolverWrapper

(class from pyomo.contrib.pynumero.algorithms.solvers.implicit_functions)

class pyomo.contrib.pynumero.algorithms.solvers.implicit_functions.ScipySolverWrapper(nlp, timer=None, options=None)[source]

Bases: NlpSolverBase

A wrapper for SciPy NLP solvers that implements the NlpSolverBase API

This solver uses scipy.optimize.fsolve for “vector-valued” NLPs (with more than one primal variable and equality constraint) and the Secant-Newton hybrid for “scalar-valued” NLPs.

__init__(nlp, timer=None, options=None)[source]

Methods

__init__(nlp[, timer, options])

solve([x0])

Member Documentation