| NonlinearProgrammingProblem(Int32, FuncDoubleVector, Double, IEnumerableConstraint) Constructor |
Constructws a NonlinearProgrammingProblem object with the given
objective function and constraints.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public NonlinearProgrammingProblem(
int xDimension,
Func<DoubleVector, double> objective,
IEnumerable<Constraint> constraints
)
Public Sub New (
xDimension As Integer,
objective As Func(Of DoubleVector, Double),
constraints As IEnumerable(Of Constraint)
)
public:
NonlinearProgrammingProblem(
int xDimension,
Func<DoubleVector^, double>^ objective,
IEnumerable<Constraint^>^ constraints
)
new :
xDimension : int *
objective : Func<DoubleVector, float> *
constraints : IEnumerable<Constraint> -> NonlinearProgrammingProblem
Parameters
- xDimension Int32
- The dimension of the domain of the objective
- objective FuncDoubleVector, Double
- The objective function to minimize.
- constraints IEnumerableConstraint
- The constraints.
See Also