public class ObjectiveFunctionWithSoftConstraints extends ObjectiveFunction
currentX, f0Gradient, f0Hessian, f0Result, fiGradients, fiHessians, fiResults, iterationCounter, quasiNewtonMethod, stopRequested
Constructor and Description |
---|
ObjectiveFunctionWithSoftConstraints(ObjectiveFunction a_source) |
Modifier and Type | Method and Description |
---|---|
void |
calcFuncInternal(double[] x)
Objective function called in optimization class.
|
boolean |
calcFunction(double[] x)
Objective function and constraint functions.
|
checkFeasibility, clearMatrix, getCurrentPoint
public ObjectiveFunctionWithSoftConstraints(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 variables