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 C2OptimProblemImpl
public int dimension()
OptimProblem
dimension
in interface OptimProblem
public RealScalarFunction f()
OptimProblem
f
in interface OptimProblem
public RealVectorFunction g()
C1
public RntoMatrix H()
C2
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.