class ObjectiveFunctionForPhaseI extends ObjectiveFunction
currentX, f0Gradient, f0Hessian, f0Result, fiGradients, fiHessians, fiResults, iterationCounter, quasiNewtonMethod, stopRequested
Constructor and Description |
---|
ObjectiveFunctionForPhaseI(ObjectiveFunction a_source) |
Modifier and Type | Method and Description |
---|---|
void |
calcFuncInternal(double[] x)
Objective function called in Phase I.
|
boolean |
calcFunction(double[] x)
Objective function and constraint functions.
|
boolean |
checkPhaseICriteria()
Check the termination criteria in phase I.
|
void |
setCurrentPoint(double[] x)
Set current searching point X.
|
boolean |
setInitialValue(double tolerance)
Set initial residual value s.
|
checkFeasibility, clearMatrix, getCurrentPoint
public ObjectiveFunctionForPhaseI(ObjectiveFunction a_source)
public boolean calcFunction(double[] x)
ObjectiveFunction
calcFunction
in class ObjectiveFunction
x
- : input variablespublic void calcFuncInternal(double[] x)
calcFuncInternal
in class ObjectiveFunction
x
- input variablespublic boolean checkPhaseICriteria()
public void setCurrentPoint(double[] x)
x
- current point which is to be set.public boolean setInitialValue(double tolerance)
tolerance
- : the value which defines margin from constraints.