> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PyNLPQLP

## *class* PyNLPQLP.DiffType

**Enumeration**

#### BACKWARD *= PyNLPQLP.DiffType.BACKWARD*

#### CENTRAL *= PyNLPQLP.DiffType.CENTRAL*

#### FORWARD *= PyNLPQLP.DiffType.FORWARD*

#### FOURTH\_ORDER *= PyNLPQLP.DiffType.FOURTH\_ORDER*

## *class* PyNLPQLP.NLPQLP

#### \_\_init\_\_()

#### \_\_init\_\_(arg2: [SettingsNLPQLP](#PyNLPQLP.SettingsNLPQLP))

## *class* PyNLPQLP.SettingsNLPQLP

#### \_\_init\_\_()

#### get\_accuracy() → float

Get tolerance by which optimality conditions are met.

#### get\_gradient\_dx() → [vector\_type](https://developer.synopsys.com/docs/optislang/optislang-python-api/modules/dynardo_py_algorithms.md#dynardo_py_algorithms.vector_type)

Get differentiation step size.

#### get\_line\_search\_stack\_size() → int

Get value of nonmonotonous line search stack size.

#### get\_max\_num\_function\_calls() → int

Get the maximum allowed number of function calls.

#### get\_max\_step\_size() → int

#### get\_number\_of\_parallel\_line\_searches() → int

Get number of line searches running parallel.

#### get\_numerical\_differences() → [DiffType](#PyNLPQLP.DiffType)

Get value used for the differentiaion scheme.

#### *property* min\_line\_search\_stepsize

Default 0 means auto detection of step size.

#### set\_accuracy(arg2: float)

Set tolerance by which optimality conditions are met.

#### set\_gradient\_dx(arg2: float)

#### set\_gradient\_dx(arg2: [vector\_type](https://developer.synopsys.com/docs/optislang/optislang-python-api/modules/dynardo_py_algorithms.md#dynardo_py_algorithms.vector_type))

\[0] Set differentiation step size.

\[1] Set differentiation step size.

#### set\_line\_search\_stack\_size(arg2: int)

Set value of nonmonotonous line search stack size.

#### set\_max\_num\_function\_calls(arg2: int)

Set the maximum allowed number of function calls.

#### set\_max\_step\_size(arg2: float)

#### set\_max\_step\_size(arg2: [vector\_type](https://developer.synopsys.com/docs/optislang/optislang-python-api/modules/dynardo_py_algorithms.md#dynardo_py_algorithms.vector_type))

#### set\_number\_of\_parallel\_line\_searches(arg2: int)

Set number of line searches running parallel.

#### set\_numerical\_differences(arg2: [DiffType](#PyNLPQLP.DiffType))

Set value used for the differentiaion scheme.

#### *property* use\_initial\_stepsize\_limit

Initial stepsize limit.
