Constructors
constructor
Defined in ql/math/optimization/problem.ts:19
Parameters
Default value initialValue: Real [] = []
Properties
Protected _constraint
Defined in ql/math/optimization/problem.ts:117
Protected _costFunction
Defined in ql/math/optimization/problem.ts:115
Protected _currentValue
Defined in ql/math/optimization/problem.ts:119
Protected _functionEvaluation
Defined in ql/math/optimization/problem.ts:123
Protected _functionValue
Defined in ql/math/optimization/problem.ts:120
Protected _gradientEvaluation
Defined in ql/math/optimization/problem.ts:124
Protected _squaredNorm
Defined in ql/math/optimization/problem.ts:121
Methods
constraint
Defined in ql/math/optimization/problem.ts:31
costFunction
Defined in ql/math/optimization/problem.ts:35
currentValue
Defined in ql/math/optimization/problem.ts:44
Returns Real []
functionEvaluation
Defined in ql/math/optimization/problem.ts:67
functionValue
Defined in ql/math/optimization/problem.ts:53
gradient
gradient( grad_f: Real [] , x: Real [] ) : void
Defined in ql/math/optimization/problem.ts:93
Parameters
Returns void
gradientEvaluation
Defined in ql/math/optimization/problem.ts:72
gradientNormValue
gradientNormValue( ) : Real
Defined in ql/math/optimization/problem.ts:62
reset
Defined in ql/math/optimization/problem.ts:109
Returns void
setCurrentValue
setCurrentValue( currentValue: Real [] ) : void
Defined in ql/math/optimization/problem.ts:39
Parameters
Returns void
setFunctionValue
setFunctionValue( functionValue: Real ) : void
Defined in ql/math/optimization/problem.ts:48
Parameters
Returns void
setGradientNormValue
setGradientNormValue( squaredNorm: Real ) : void
Defined in ql/math/optimization/problem.ts:57
Parameters
Returns void
value
Defined in ql/math/optimization/problem.ts:77
Parameters
valueAndGradient
Defined in ql/math/optimization/problem.ts:100
Parameters
values
Defined in ql/math/optimization/problem.ts:83
Parameters
Returns Real []
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Constrained optimization problem
The passed CostFunction and Constraint instances are stored by reference. The user of this class must make sure that they are not destroyed before the Problem instance.