csnlp.multistart.StructuredStartPoints#

class csnlp.multistart.StructuredStartPoints(points, multistarts=10)[source]#

Bases: object

Class that can be iterated to yield a set of structured (deterministic) start points for a multistart NLP optimization problem (see csnlp.multistart.MultistartNlp and its subclasses). The points are linearly spaced between upper- and lower-bounds.

Parameters:
pointsdict of (str, StructuredStartPoint)

Dictionary containing the name of each variable, and how to generate structured starting points for it (in the form of a StructuredStartPoint object).

multistartsint, optional

The number of multiple start points. Default is 10.

Methods

Examples using csnlp.multistart.StructuredStartPoints#

A simple problem with multiple minima

A simple problem with multiple minima