public class C2OptimProblemImpl extends Object implements C2OptimProblem
| Constructor and Description |
|---|
C2OptimProblemImpl(C2OptimProblemImpl that)
Copy Ctor.
|
C2OptimProblemImpl(RealScalarFunction f)
Construct an optimization problem with an objective function.
|
C2OptimProblemImpl(RealScalarFunction f,
RealVectorFunction g)
Construct an optimization problem with an objective function.
|
C2OptimProblemImpl(RealScalarFunction f,
RealVectorFunction g,
RntoMatrix H)
Construct an optimization problem with an objective function.
|
| Modifier and Type | Method and Description |
|---|---|
int |
dimension()
Get the number of variables.
|
RealScalarFunction |
f()
Get the objective function.
|
RealVectorFunction |
g()
Get the gradient function, g, of a real valued function f.
|
RntoMatrix |
H()
Get the Hessian matrix function, H, of a real valued function f.
|
public C2OptimProblemImpl(RealScalarFunction f, RealVectorFunction g, RntoMatrix H)
f - the objective function to be minimizedg - the gradient of the objective functionH - the Hessian of the objective functionpublic C2OptimProblemImpl(RealScalarFunction f, RealVectorFunction g)
f - the objective function to be minimizedg - the gradient of the objective functionpublic C2OptimProblemImpl(RealScalarFunction f)
f - the objective function to be minimizedpublic C2OptimProblemImpl(C2OptimProblemImpl that)
that - a C2OptimProblemImplpublic int dimension()
OptimProblemdimension in interface OptimProblempublic RealScalarFunction f()
OptimProblemf in interface OptimProblempublic RealVectorFunction g()
C1public RntoMatrix H()
C2Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.