Constructws a NonlinearProgrammingProblem object with the given objective function and constraints.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public NonlinearProgrammingProblem(
	int xDimension,
	Func<DoubleVector, double> objective,
	IEnumerable<Constraint> constraints
)
Visual Basic (Declaration)
Public Sub New ( _
	xDimension As Integer, _
	objective As Func(Of DoubleVector, Double), _
	constraints As IEnumerable(Of Constraint) _
)
Visual C++
public:
NonlinearProgrammingProblem(
	int xDimension, 
	Func<DoubleVector^, double>^ objective, 
	IEnumerable<Constraint^>^ constraints
)

Parameters

xDimension
Type: System..::.Int32
The dimension of the domain of the objective
objective
Type: System..::.Func<(Of <(DoubleVector, Double>)>)
The objective function to minimize.
constraints
Type: System.Collections.Generic..::.IEnumerable<(Of <(Constraint>)>)
The constraints.

See Also