ScipyMinimizeOptionsΒΆ

class ScipyMinimizeOptionsΒΆ

Bases: TypedDict

Optional keyword arguments for scipy.optimize.minimize().

Passed as the options argument to the optimizer. All keys are optional.

Methods

__init__

clear

Remove all items from the dict.

copy

Return a shallow copy of the dict.

fromkeys

Create a new dictionary with keys from iterable and values set to value.

get

Return the value for key if key is in the dictionary, else default.

items

Return a set-like object providing a view on the dict's items.

keys

Return a set-like object providing a view on the dict's keys.

pop

If the key is not found, return the default if given; otherwise, raise a KeyError.

popitem

Remove and return a (key, value) pair as a 2-tuple.

setdefault

Insert key with a value of default if key is not in the dictionary.

update

If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

values

Return an object providing a view on the dict's values.

Attributes

disp

If True, print convergence messages.

maxiter

Maximum number of iterations allowed.

__extra_items__ΒΆ

alias of Any

__contains__(key, /)ΒΆ

True if the dictionary has the specified key, else False.

__delitem__(key, /)ΒΆ

Delete self[key].

__eq__(value, /)ΒΆ

Return self==value.

__ge__(value, /)ΒΆ

Return self>=value.

__getattribute__(name, /)ΒΆ

Return getattr(self, name).

__getitem__(key, /)ΒΆ

Return self[key].

__gt__(value, /)ΒΆ

Return self>value.

__init__(*args, **kwargs)ΒΆ
__ior__(value, /)ΒΆ

Return self|=value.

__iter__()ΒΆ

Implement iter(self).

__le__(value, /)ΒΆ

Return self<=value.

__len__()ΒΆ

Return len(self).

__lt__(value, /)ΒΆ

Return self<value.

__ne__(value, /)ΒΆ

Return self!=value.

__or__(value, /)ΒΆ

Return self|value.

__repr__()ΒΆ

Return repr(self).

__reversed__()ΒΆ

Return a reverse iterator over the dict keys.

__ror__(value, /)ΒΆ

Return value|self.

__setitem__(key, value, /)ΒΆ

Set self[key] to value.

__sizeof__()ΒΆ

Return the size of the dict in memory, in bytes.

clear()ΒΆ

Remove all items from the dict.

copy()ΒΆ

Return a shallow copy of the dict.

fromkeys(value=None, /)ΒΆ

Create a new dictionary with keys from iterable and values set to value.

get(key, default=None, /)ΒΆ

Return the value for key if key is in the dictionary, else default.

items()ΒΆ

Return a set-like object providing a view on the dict’s items.

keys()ΒΆ

Return a set-like object providing a view on the dict’s keys.

pop(k[, d]) v, remove specified key and return the corresponding value.ΒΆ

If the key is not found, return the default if given; otherwise, raise a KeyError.

popitem()ΒΆ

Remove and return a (key, value) pair as a 2-tuple.

Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty.

setdefault(key, default=None, /)ΒΆ

Insert key with a value of default if key is not in the dictionary.

Return the value for key if key is in the dictionary, else default.

update([E, ]**F) None.  Update D from mapping/iterable E and F.ΒΆ

If E is present and has a .keys() method, then does: for k in E.keys(): D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

values()ΒΆ

Return an object providing a view on the dict’s values.

__closed__ = NoneΒΆ
__hash__ = NoneΒΆ
__mutable_keys__ = frozenset({'disp', 'maxiter'})ΒΆ
__optional_keys__ = frozenset({'disp', 'maxiter'})ΒΆ
__readonly_keys__ = frozenset({})ΒΆ
__required_keys__ = frozenset({})ΒΆ
__static_attributes__ = ()ΒΆ
__total__ = FalseΒΆ
disp: boolΒΆ

If True, print convergence messages.

maxiter: intΒΆ

Maximum number of iterations allowed.