NewtonNlpSolver

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

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

Bases: ScalarDenseSquareNlpSolver

A wrapper around the SciPy scalar Newton solver for NLP objects

__init__(nlp, timer=None, options=None)
Parameters:

nlp (ExtendedNLP) – An instance of ExtendedNLP that will be solved. ExtendedNLP is required to ensure that the NLP has equal numbers of primal variables and equality constraints.

Methods

__init__(nlp[, timer, options])

evaluate_function(x0)

evaluate_jacobian(x0)

solve([x0])

Attributes

OPTIONS

Member Documentation